wok-6.x view 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 | eb4c6cf9f3a5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="razorqt-locale-pt"
4 VERSION="0.5.2"
5 CATEGORY="localization"
6 SHORT_DESC="Portuguese locale for Razor-qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://razor-qt.org/"
10 WANTED="razorqt"
12 LOCALE="pt"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 cd $install
18 qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||')
19 for qm in $qms; do
20 mkdir -p $(dirname $fs$qm)
21 cp -a $install$qm $fs$qm
22 done
23 }