wok annotate qt-locale-zh_CN/receipt @ rev 23021
updated libdrm packages (2.4.97 -> 2.4.100)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 15:05:21 2020 +0100 (2020-03-03) |
parents | 7042a09beaeb |
children | cb67b4f8be05 |
rev | line source |
---|---|
al@16500 | 1 # SliTaz package receipt. |
al@16500 | 2 |
al@16500 | 3 PACKAGE="qt-locale-zh_CN" |
psychomaniak@19568 | 4 VERSION="4.8.7" |
al@19175 | 5 CATEGORY="localization" |
al@16500 | 6 SHORT_DESC="Chinese Simplified locale for Qt" |
al@16500 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16500 | 8 LICENSE="GPL3 LGPL2.1 FDL other" |
al@16500 | 9 WEB_SITE="http://qt-project.org/" |
al@16500 | 10 WANTED="qt4" |
al@16500 | 11 |
al@16500 | 12 LOCALE="zh_CN" |
al@16500 | 13 BOOK="" |
al@16500 | 14 |
al@16500 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16500 | 16 genpkg_rules() |
al@16500 | 17 { |
al@16500 | 18 usqt=/usr/share/qt/translations |
al@16500 | 19 mkdir -p $fs$usqt |
al@16500 | 20 |
al@16500 | 21 for qm in $(find $install$usqt -name "*_$LOCALE.qm"); do |
al@16500 | 22 cp -a $install$usqt/${qm##*/} $fs$usqt |
al@16500 | 23 done |
al@16500 | 24 |
al@16500 | 25 if [ x$BOOK != x ]; then |
al@16500 | 26 usqp=/usr/share/qt/phrasebooks |
al@16500 | 27 mkdir -p $fs$usqp |
al@16500 | 28 cp -a $install$usqp/$BOOK.qph $fs$usqp |
al@16500 | 29 fi |
al@16500 | 30 } |