wok-current annotate qt5-locale-pt/receipt @ rev 23822

created recipes for qt5 packages
author Hans-G?nter Theisgen
date Thu May 28 10:55:44 2020 +0100 (2020-05-28)
parents
children
rev   line source
Hans-G?nter@23822 1 # SliTaz package receipt.
Hans-G?nter@23822 2
Hans-G?nter@23822 3 PACKAGE="qt5-locale-pt"
Hans-G?nter@23822 4 VERSION="5.14.2"
Hans-G?nter@23822 5 CATEGORY="localization"
Hans-G?nter@23822 6 SHORT_DESC="Portuguese locale for Qt5."
Hans-G?nter@23822 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23822 8 LICENSE="GPL3 LGPL3 FDL other"
Hans-G?nter@23822 9 WEB_SITE="https://www.qt.io/"
Hans-G?nter@23822 10
Hans-G?nter@23822 11 WANTED="qt5"
Hans-G?nter@23822 12
Hans-G?nter@23822 13 LOCALE="pt"
Hans-G?nter@23822 14 BOOK=""
Hans-G?nter@23822 15
Hans-G?nter@23822 16 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23822 17 genpkg_rules()
Hans-G?nter@23822 18 {
Hans-G?nter@23822 19 usqt=/usr/share/qt5/translations
Hans-G?nter@23822 20 mkdir -p $fs$usqt
Hans-G?nter@23822 21
Hans-G?nter@23822 22 for qm in $(find $install$usqt -name "*_$LOCALE.qm")
Hans-G?nter@23822 23 do
Hans-G?nter@23822 24 cp -a $install$usqt/${qm##*/} $fs$usqt
Hans-G?nter@23822 25 done
Hans-G?nter@23822 26
Hans-G?nter@23822 27 if [ x$BOOK != x ]
Hans-G?nter@23822 28 then
Hans-G?nter@23822 29 usqp=/usr/share/qt5/phrasebooks
Hans-G?nter@23822 30 mkdir -p $fs$usqp
Hans-G?nter@23822 31 cp -a $install$usqp/$BOOK.qph $fs$usqp
Hans-G?nter@23822 32 fi
Hans-G?nter@23822 33 }