wok annotate qt5-locale-es/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
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-es" |
Hans-G?nter@23822 | 4 VERSION="5.14.2" |
Hans-G?nter@23822 | 5 CATEGORY="localization" |
Hans-G?nter@23822 | 6 SHORT_DESC="Spanish 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="es" |
Hans-G?nter@23822 | 14 BOOK="spanish" |
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 } |