wok-next view lxqt-l10n/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents e65af2bd0cc3
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-l10n"
4 VERSION="0.12.0"
5 CATEGORY="localization"
6 SHORT_DESC="Translations of LXQt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-l10n"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-l10n.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/lxqt-l10n/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev lxqt-build-tools"
16 SPLIT="lxqt-l10n-extra"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 .. &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 lxqt-l10n)
31 copy *_de.qm *_es.qm *_fr.qm *_pt.qm *_pt_BR.qm *_ru.qm
32 ;;
33 *-extra)
34 copy @std @rm
35 CAT="localization|extra translations"
36 DEPENDS=" "
37 ;;
38 esac
39 TAGS="LXQt"
40 }