wok-6.x diff qt5-locale-ru/receipt @ rev 25053

Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 19:53:43 2022 +0000 (2022-06-05)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qt5-locale-ru/receipt	Sun Jun 05 19:53:43 2022 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qt5-locale-ru"
     1.7 +VERSION="5.14.2"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Russian locale for Qt5."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL3 LGPL3 FDL other"
    1.12 +WEB_SITE="https://www.qt.io/"
    1.13 +
    1.14 +WANTED="qt5"
    1.15 +
    1.16 +LOCALE="ru"
    1.17 +BOOK="russian"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	usqt=/usr/share/qt5/translations
    1.23 +	mkdir -p $fs$usqt
    1.24 +
    1.25 +	for qm in $(find $install$usqt -name "*_$LOCALE.qm")
    1.26 +	  do
    1.27 +		cp -a $install$usqt/${qm##*/}	$fs$usqt
    1.28 +	  done
    1.29 +
    1.30 +	if [ x$BOOK != x ]
    1.31 +	  then
    1.32 +		usqp=/usr/share/qt5/phrasebooks
    1.33 +		mkdir -p $fs$usqp
    1.34 +		cp -a $install$usqp/$BOOK.qph	$fs$usqp
    1.35 +	fi
    1.36 +}