wok view fcitx-googlepinyin/receipt @ rev 25229

updated python-pyst2 (0.5.0 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 16:59:13 2022 +0100 (2022-07-13)
parents 544e47246b33
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx-googlepinyin"
4 VERSION="0.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Googlepinyin Wrapper for Fcitx"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://fcitx-im.org/wiki/Fcitx"
11 WGET_URL="https://download.fcitx-im.org/fcitx-googlepinyin/$TARBALL"
13 DEPENDS="fcitx libgooglepinyin"
14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/fcitx/fcitx-googlepinyin/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $src/build
27 cd $src/build
28 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
29 cd $src
30 make -C build || return 1
31 make install/fast -C build DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
38 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
39 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
40 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
41 }