wok-6.x diff razorqt-locale-misc/receipt @ rev 15191
razorqt: up 0.5.2, add razorqt-locale-*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 28 21:09:46 2013 +0300 (2013-08-28) |
parents | |
children | 7042a09beaeb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/razorqt-locale-misc/receipt Wed Aug 28 21:09:46 2013 +0300 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="razorqt-locale-misc" 1.7 +VERSION="0.5.2" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Miscelaneous locales for Razor-qt not included in razorqt-locale-*" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2 LGPL2.1" 1.12 +WEB_SITE="http://razor-qt.org/" 1.13 +WANTED="razorqt" 1.14 + 1.15 +LOCALES="cs da de el es fr hu id it pl pt ru sl sv uk zh" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + # copy all translations 1.21 + cd $install 1.22 + qms=$(find . -name "*.qm" | sed 's|^.||') 1.23 + for qm in $qms; do 1.24 + mkdir -p $(dirname $fs$qm) 1.25 + cp -a $install$qm $fs$qm 1.26 + done 1.27 + # remove translations that exists in razorqt-locale-* 1.28 + for locale in $LOCALES; do 1.29 + cook razorqt-locale-$locale 1.30 + for qm in $(cat $WOK/razorqt-locale-$locale/taz/*/files.list); do 1.31 + rm -f $fs$qm 1.32 + done 1.33 + done 1.34 +}