wok diff razorqt-locale-zh/receipt @ rev 15302
gutenprint: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 12:35:42 2013 +0000 (2013-09-27) |
parents | |
children | 7042a09beaeb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/razorqt-locale-zh/receipt Fri Sep 27 12:35:42 2013 +0000 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="razorqt-locale-zh" 1.7 +VERSION="0.5.2" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Chinese locale for Razor-qt" 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 +LOCALE="zh" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + cd $install 1.21 + qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 1.22 + for qm in $qms; do 1.23 + mkdir -p $(dirname $fs$qm) 1.24 + cp -a $install$qm $fs$qm 1.25 + done 1.26 +}