wok annotate razorqt-locale-misc/receipt @ rev 19730
squid: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 10:43:09 2017 +0100 (2017-02-17) |
parents | 6a7afc995cac |
children | eb4c6cf9f3a5 |
rev | line source |
---|---|
al@15191 | 1 # SliTaz package receipt. |
al@15191 | 2 |
al@15191 | 3 PACKAGE="razorqt-locale-misc" |
al@15191 | 4 VERSION="0.5.2" |
al@19175 | 5 CATEGORY="localization" |
al@15191 | 6 SHORT_DESC="Miscelaneous locales for Razor-qt not included in razorqt-locale-*" |
al@15191 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@15191 | 8 LICENSE="GPL2 LGPL2.1" |
al@15191 | 9 WEB_SITE="http://razor-qt.org/" |
al@15191 | 10 WANTED="razorqt" |
al@15191 | 11 |
al@15191 | 12 LOCALES="cs da de el es fr hu id it pl pt ru sl sv uk zh" |
al@15191 | 13 |
al@15191 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@15191 | 15 genpkg_rules() |
al@15191 | 16 { |
al@15191 | 17 # copy all translations |
al@15191 | 18 cd $install |
al@15191 | 19 qms=$(find . -name "*.qm" | sed 's|^.||') |
al@15191 | 20 for qm in $qms; do |
al@15191 | 21 mkdir -p $(dirname $fs$qm) |
al@15191 | 22 cp -a $install$qm $fs$qm |
al@15191 | 23 done |
al@15191 | 24 # remove translations that exists in razorqt-locale-* |
al@15191 | 25 for locale in $LOCALES; do |
al@15191 | 26 cook razorqt-locale-$locale |
al@15191 | 27 for qm in $(cat $WOK/razorqt-locale-$locale/taz/*/files.list); do |
al@15191 | 28 rm -f $fs$qm |
al@15191 | 29 done |
al@15191 | 30 done |
al@15191 | 31 } |