wok view razorqt-locale-misc/receipt @ rev 20318
revert back to v4.4,since glib +gtk error :-( probably v4.6.3 would work, but cannot find it on dev server
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun May 20 11:19:35 2018 +0000 (2018-05-20) |
parents | 6a7afc995cac |
children | eb4c6cf9f3a5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="razorqt-locale-misc"
4 VERSION="0.5.2"
5 CATEGORY="localization"
6 SHORT_DESC="Miscelaneous locales for Razor-qt not included in razorqt-locale-*"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://razor-qt.org/"
10 WANTED="razorqt"
12 LOCALES="cs da de el es fr hu id it pl pt ru sl sv uk zh"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 # copy all translations
18 cd $install
19 qms=$(find . -name "*.qm" | sed 's|^.||')
20 for qm in $qms; do
21 mkdir -p $(dirname $fs$qm)
22 cp -a $install$qm $fs$qm
23 done
24 # remove translations that exists in razorqt-locale-*
25 for locale in $LOCALES; do
26 cook razorqt-locale-$locale
27 for qm in $(cat $WOK/razorqt-locale-$locale/taz/*/files.list); do
28 rm -f $fs$qm
29 done
30 done
31 }