wok-next annotate fcitx-googlepinyin/receipt @ rev 21678

updated getmail (4.41.0 -> 5.14)
author Hans-G?nter Theisgen
date Mon Jun 29 13:44:08 2020 +0100 (2020-06-29)
parents f48456621a9d
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
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"
al@21017 9 WEB_SITE="https://fcitx-im.org/wiki/Googlepinyin"
al@21017 10
hipeng@10960 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20906 12 WGET_URL="https://download.fcitx-im.org/$PACKAGE/$TARBALL"
hipeng@10960 13
al@21017 14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk2-dev fcitx-dev libgooglepinyin-dev"
pascal@15215 15
al@21017 16 compile_rules() {
al@21017 17 mkdir build
al@21017 18 cd build
slaxemulator@10962 19 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
hipeng@10960 20 cd $src
hipeng@10960 21 make -C build || return 1
al@21020 22 make install/fast -C build DESTDIR=$install
hipeng@10960 23 }
hipeng@10960 24
al@21017 25 genpkg_rules() {
hipeng@10960 26 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
pascal@15215 27 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
pascal@15215 28 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
pascal@15215 29 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
al@21017 30 DEPENDS="fcitx libgooglepinyin"
hipeng@10960 31 }