wok-next annotate lxqt-l10n/receipt @ rev 20427
Up cookutils (1024), tazpkg (957)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 12:19:58 2018 +0200 (2018-01-24) |
parents | d394530f7404 |
children | f48456621a9d |
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@20019 | 9 WEB_SITE="https://github.com/lxde/lxqt-l10n" |
al@20019 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@20325 | 16 SPLIT="lxqt-l10n-extra" |
al@20019 | 17 |
al@20019 | 18 compile_rules() { |
al@20019 | 19 mkdir build; cd build |
al@20019 | 20 cmake \ |
al@20019 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@20019 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20019 | 23 .. && |
al@20019 | 24 make && |
al@20019 | 25 make install |
al@20019 | 26 } |
al@20019 | 27 |
al@20019 | 28 genpkg_rules() { |
al@20325 | 29 case $PACKAGE in |
al@20325 | 30 lxqt-l10n) |
al@20325 | 31 copy *_de.qm *_es.qm *_fr.qm *_pt.qm *_pt_BR.qm *_ru.qm |
al@20325 | 32 ;; |
al@20325 | 33 *-extra) |
al@20325 | 34 copy @std @rm |
al@20325 | 35 CAT="localization|extra translations" |
al@20325 | 36 DEPENDS=" " |
al@20325 | 37 ;; |
al@20325 | 38 esac |
al@20019 | 39 TAGS="LXQt" |
al@20019 | 40 } |