wok-current view fcitx-zm/receipt @ rev 8639
Up: slitaz-menus to 1.8. Added Education directory for menu. Also add applications-engineering and applications-science icons from gnome-icon-theme. Both 16 and 32 sizes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 03:49:26 2011 +0000 (2011-02-15) |
parents | 8437bf104f21 |
children | 25ffa17d5c17 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx-zm"
4 VERSION="4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Zhengma Table for FCITX-4.0"
7 MAINTAINER="lufeng369"
8 DEPENDS="fcitx"
9 BUILD_DEPENDS="fcitx"
10 TARBALL="zm.mb"
11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 compile_rules()
14 {
15 echo -n "Remove All Words,Remained Hanzi only"
16 # mkdir stuff
17 mb2txt $SOURCES_REPOSITORY/zm.mb | awk 'NR<=10{print} NR>10{if(length($2)==3)print}' > stuff/zm.txt
18 cd stuff && txt2mb zm.txt zm.mb
19 cd ..
20 status
22 }
23 genpkg_rules()
24 {
25 EXTDIR="$fs/usr/share/fcitx/data/table"
26 mkdir -p $EXTDIR
27 cp stuff/zm.mb $EXTDIR
28 cp stuff/zm.conf $EXTDIR
29 }