wok-6.x view qt5-locale-pt/receipt @ rev 24759

pkg-config: use autoconf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 08:01:47 2022 +0000 (2022-03-18)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qt5-locale-pt"
4 VERSION="5.14.2"
5 CATEGORY="localization"
6 SHORT_DESC="Portuguese 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="pt"
14 BOOK=""
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 }