wok-next annotate razorqt-locale-pt/receipt @ rev 19175
Fill category 'localization'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 03 01:02:47 2016 +0300 (2016-06-03) |
parents | 6a7afc995cac |
children |
rev | line source |
---|---|
al@15191 | 1 # SliTaz package receipt. |
al@15191 | 2 |
al@15191 | 3 PACKAGE="razorqt-locale-pt" |
al@15191 | 4 VERSION="0.5.2" |
al@19175 | 5 CATEGORY="localization" |
al@15191 | 6 SHORT_DESC="Portuguese locale for Razor-qt" |
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 LOCALE="pt" |
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 cd $install |
al@15191 | 18 qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') |
al@15191 | 19 for qm in $qms; do |
al@15191 | 20 mkdir -p $(dirname $fs$qm) |
al@15191 | 21 cp -a $install$qm $fs$qm |
al@15191 | 22 done |
al@15191 | 23 } |