wok-next annotate lxqt-l10n/receipt @ rev 21573
updated dansguardian (2.10.1.1 -> 2.12.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 17:38:17 2020 +0100 (2020-06-22) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20019 | 1 # SliTaz package receipt v2. |
al@20019 | 2 |
al@20019 | 3 PACKAGE="lxqt-l10n" |
al@20318 | 4 VERSION="0.12.0" |
al@20325 | 5 CATEGORY="localization" |
al@20019 | 6 SHORT_DESC="Translations of LXQt" |
al@20019 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20019 | 8 LICENSE="LGPL2.1" |
al@21032 | 9 WEB_SITE="https://github.com/lxqt/lxqt-l10n" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-l10n.html" |
al@20019 | 11 |
al@20019 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20019 | 13 WGET_URL="https://github.com/lxde/lxqt-l10n/releases/download/$VERSION/$TARBALL" |
al@20019 | 14 |
al@20019 | 15 BUILD_DEPENDS="cmake qt5-dev lxqt-build-tools" |
al@21020 | 16 SPLIT="$PACKAGE-extra" |
al@20019 | 17 |
al@20019 | 18 compile_rules() { |
al@21020 | 19 mkdir build |
al@21020 | 20 cd build |
al@20019 | 21 cmake \ |
al@20019 | 22 -DCMAKE_BUILD_TYPE=Release \ |
al@20019 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20019 | 24 .. && |
al@20019 | 25 make && |
al@20019 | 26 make install |
al@20019 | 27 } |
al@20019 | 28 |
al@20019 | 29 genpkg_rules() { |
al@20325 | 30 case $PACKAGE in |
al@20325 | 31 lxqt-l10n) |
al@20325 | 32 copy *_de.qm *_es.qm *_fr.qm *_pt.qm *_pt_BR.qm *_ru.qm |
al@20325 | 33 ;; |
al@20325 | 34 *-extra) |
al@20325 | 35 copy @std @rm |
al@20325 | 36 CAT="localization|extra translations" |
al@20325 | 37 DEPENDS=" " |
al@20325 | 38 ;; |
al@20325 | 39 esac |
al@20019 | 40 TAGS="LXQt" |
al@20019 | 41 } |