wok-next view fcitx-googlepinyin/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://fcitx-im.org/wiki/Googlepinyin"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.fcitx-im.org/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk2-dev fcitx-dev libgooglepinyin-dev"
16 compile_rules() {
17 mkdir build
18 cd build
19 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
20 cd $src
21 make -C build || return 1
22 make install/fast -C build DESTDIR=$install
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
27 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
28 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
29 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
30 DEPENDS="fcitx libgooglepinyin"
31 }