wok view qt5-locale-ru/receipt @ rev 24130

Add tnylpo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 18 14:47:15 2021 +0000 (2021-10-18)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qt5-locale-ru"
4 VERSION="5.14.2"
5 CATEGORY="localization"
6 SHORT_DESC="Russian locale for Qt5."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL3 LGPL3 FDL other"
9 WEB_SITE="https://www.qt.io/"
11 WANTED="qt5"
13 LOCALE="ru"
14 BOOK="russian"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 usqt=/usr/share/qt5/translations
20 mkdir -p $fs$usqt
22 for qm in $(find $install$usqt -name "*_$LOCALE.qm")
23 do
24 cp -a $install$usqt/${qm##*/} $fs$usqt
25 done
27 if [ x$BOOK != x ]
28 then
29 usqp=/usr/share/qt5/phrasebooks
30 mkdir -p $fs$usqp
31 cp -a $install$usqp/$BOOK.qph $fs$usqp
32 fi
33 }