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

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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/lxqt/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="$PACKAGE-extra"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 lxqt-l10n)
32 copy *_de.qm *_es.qm *_fr.qm *_pt.qm *_pt_BR.qm *_ru.qm
33 ;;
34 *-extra)
35 copy @std @rm
36 CAT="localization|extra translations"
37 DEPENDS=" "
38 ;;
39 esac
40 TAGS="LXQt"
41 }