wok-current diff qt-locale-sv/receipt @ rev 16500
Add: qt-locale-* - translations and phrasebooks for Qt4 system
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 23 21:45:30 2014 +0300 (2014-04-23) |
parents | |
children | 28d590d94cce |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qt-locale-sv/receipt Wed Apr 23 21:45:30 2014 +0300 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qt-locale-sv" 1.7 +VERSION="4.8.4" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Swedish locale for Qt" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3 LGPL2.1 FDL other" 1.12 +WEB_SITE="http://qt-project.org/" 1.13 +WANTED="qt4" 1.14 + 1.15 +LOCALE="sv" 1.16 +BOOK="swedish" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + usqt=/usr/share/qt/translations 1.22 + mkdir -p $fs$usqt 1.23 + 1.24 + for qm in $(find $install$usqt -name "*_$LOCALE.qm"); do 1.25 + cp -a $install$usqt/${qm##*/} $fs$usqt 1.26 + done 1.27 + 1.28 + if [ x$BOOK != x ]; then 1.29 + usqp=/usr/share/qt/phrasebooks 1.30 + mkdir -p $fs$usqp 1.31 + cp -a $install$usqp/$BOOK.qph $fs$usqp 1.32 + fi 1.33 +}