wok annotate qt5-locale-sv/receipt @ rev 24018

mailsync: WGET_URL2 changed
author Hans-G?nter Theisgen
date Sat Feb 27 17:05:52 2021 +0100 (2021-02-27)
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-sv"
Hans-G?nter@23822 4 VERSION="5.14.2"
Hans-G?nter@23822 5 CATEGORY="localization"
Hans-G?nter@23822 6 SHORT_DESC="Swedish 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="sv"
Hans-G?nter@23822 14 BOOK="swedish"
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 }