wok-next view lxqt-l10n/receipt @ rev 20325
Up libfm-qt, lxqt-l10n, lxqt-qtplugin, lxqt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 13 03:40:49 2017 +0200 (2017-11-13) |
parents | d394530f7404 |
children | f48456621a9d |
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/stable/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 }