wok-next diff lxqt-l10n/receipt @ rev 20574

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 20:08:04 2018 +0300 (2018-04-13)
parents d394530f7404
children f48456621a9d
line diff
     1.1 --- a/lxqt-l10n/receipt	Sat Nov 11 16:20:59 2017 +0200
     1.2 +++ b/lxqt-l10n/receipt	Fri Apr 13 20:08:04 2018 +0300
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="lxqt-l10n"
     1.6  VERSION="0.12.0"
     1.7 -CATEGORY="system-tools"
     1.8 +CATEGORY="localization"
     1.9  SHORT_DESC="Translations of LXQt"
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="LGPL2.1"
    1.12 @@ -13,6 +13,7 @@
    1.13  WGET_URL="https://github.com/lxde/lxqt-l10n/releases/download/$VERSION/$TARBALL"
    1.14  
    1.15  BUILD_DEPENDS="cmake qt5-dev lxqt-build-tools"
    1.16 +SPLIT="lxqt-l10n-extra"
    1.17  
    1.18  compile_rules() {
    1.19  	mkdir build; cd build
    1.20 @@ -25,7 +26,15 @@
    1.21  }
    1.22  
    1.23  genpkg_rules() {
    1.24 -	copy @std
    1.25 -	DEPENDS=""
    1.26 +	case $PACKAGE in
    1.27 +		lxqt-l10n)
    1.28 +			copy *_de.qm *_es.qm *_fr.qm *_pt.qm *_pt_BR.qm *_ru.qm
    1.29 +			;;
    1.30 +		*-extra)
    1.31 +			copy @std @rm
    1.32 +			CAT="localization|extra translations"
    1.33 +			DEPENDS=" "
    1.34 +			;;
    1.35 +	esac
    1.36  	TAGS="LXQt"
    1.37  }