wok-6.x view qt-locale-pt/receipt @ rev 21085
updated john again (1.7.8 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 14:47:39 2019 +0100 (2019-03-15) |
parents | 7042a09beaeb |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt-locale-pt"
4 VERSION="4.8.7"
5 CATEGORY="localization"
6 SHORT_DESC="Portuguese locale for Qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL2.1 FDL other"
9 WEB_SITE="http://qt-project.org/"
10 WANTED="qt4"
12 LOCALE="pt"
13 BOOK=""
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 usqt=/usr/share/qt/translations
19 mkdir -p $fs$usqt
21 for qm in $(find $install$usqt -name "*_$LOCALE.qm"); do
22 cp -a $install$usqt/${qm##*/} $fs$usqt
23 done
25 if [ x$BOOK != x ]; then
26 usqp=/usr/share/qt/phrasebooks
27 mkdir -p $fs$usqp
28 cp -a $install$usqp/$BOOK.qph $fs$usqp
29 fi
30 }