wok annotate fcitx-googlepinyin/receipt @ rev 24551

updated fish and fish-doc (3.0.2 -> 3.3.1)
author Hans-G?nter Theisgen
date Fri Feb 25 09:50:31 2022 +0100 (2022-02-25)
parents e3f377fbc5f0
children 94dd3813f40d
rev   line source
hipeng@10960 1 # SliTaz package receipt.
hipeng@10960 2
hipeng@10960 3 PACKAGE="fcitx-googlepinyin"
hipeng@10965 4 VERSION="0.1.3"
hipeng@10960 5 CATEGORY="x-window"
hipeng@10960 6 SHORT_DESC="Googlepinyin Wrapper for Fcitx"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15215 8 LICENSE="GPL2"
hipeng@10960 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20673 10 WEB_SITE="https://fcitx-im.org/wiki/Fcitx"
hipeng@10960 11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
hipeng@10960 12
pascal@15215 13 DEPENDS="fcitx libgooglepinyin"
pascal@15215 14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev"
pascal@15215 15
pascal@24540 16 # What is the latest version available today?
pascal@24540 17 current_version()
pascal@24540 18 {
pascal@24540 19 wget -O - https://github.com/fcitx/fcitx-googlepinyin/tags 2>/dev/null | \
pascal@24540 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24540 21 }
pascal@24540 22
hipeng@10960 23 # Rules to configure and make the package.
hipeng@10960 24 compile_rules()
hipeng@10960 25 {
slaxemulator@10962 26 mkdir -p $src/build
slaxemulator@10962 27 cd $src/build
slaxemulator@10962 28 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
hipeng@10960 29 cd $src
hipeng@10960 30 make -C build || return 1
slaxemulator@10962 31 make install/fast -C build DESTDIR=$DESTDIR
hipeng@10960 32 }
hipeng@10960 33
hipeng@10960 34 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10960 35 genpkg_rules()
hipeng@10960 36 {
hipeng@10960 37 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
pascal@15215 38 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
pascal@15215 39 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
pascal@15215 40 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
hipeng@10960 41 }
hipeng@10960 42