wok-current view qt5-locale-da/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qt5-locale-da"
4 VERSION="5.14.2"
5 CATEGORY="localization"
6 SHORT_DESC="Danish 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="da"
14 BOOK="danish"
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 }