wok-next diff qt-locale-es/receipt @ rev 16693

slitaz-icon: workaround tarball
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 23 05:21:33 2014 +0300 (2014-05-23)
parents
children 28d590d94cce
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qt-locale-es/receipt	Fri May 23 05:21:33 2014 +0300
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qt-locale-es"
     1.7 +VERSION="4.8.4"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Spanish 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="es"
    1.16 +BOOK="spanish"
    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 +}