diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-07-28 00:05:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-28 08:51:48 +0700 |
commit | c43514ff28d1812fbee7b50c919cedd35f46548b (patch) | |
tree | 2dcdc1ea62d3f67efe24b60b11f394de2a235f08 /desktop/compton-conf | |
parent | e94ee23d320f1b337481b4742b80da97a917a3d8 (diff) |
desktop/compton-conf: Update script; added lxqt_l10n sources.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/compton-conf')
-rw-r--r-- | desktop/compton-conf/compton-conf.SlackBuild | 9 | ||||
-rw-r--r-- | desktop/compton-conf/compton-conf.info | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild index 87ee14d790558..ce6d4598c41f0 100644 --- a/desktop/compton-conf/compton-conf.SlackBuild +++ b/desktop/compton-conf/compton-conf.SlackBuild @@ -24,7 +24,7 @@ PRGNAM="compton-conf" VERSION=${VERSION:-0.4.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,6 +54,8 @@ else LIBDIRSUFFIX="" fi +L10N="lxqt-l10n" +L10N_VER="0.13.0" set -e rm -rf $PKG @@ -61,6 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z +tar xvf $CWD/$L10N-$L10N_VER.tar.?z -C $PRGNAM-$VERSION/ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,12 +72,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +cp $L10N-$L10N_VER/$PRGNAM/* translations/ + mkdir build; cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ - -DUPDATE_TRANSLATIONS:BOOL=OFF \ + -DPULL_TRANSLATIONS=No \ -Dlxqt-build-tools_DIR:PATH=/usr/share/cmake/lxqt-build-tools \ .. make diff --git a/desktop/compton-conf/compton-conf.info b/desktop/compton-conf/compton-conf.info index a8affc9bfe438..ae5dbc7885349 100644 --- a/desktop/compton-conf/compton-conf.info +++ b/desktop/compton-conf/compton-conf.info @@ -1,8 +1,10 @@ PRGNAM="compton-conf" VERSION="0.4.0" HOMEPAGE="https://github.com/lxde/compton-conf" -DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.4.0/compton-conf-0.4.0.tar.gz" -MD5SUM="c3145019e45b459b14ac5072c0b6cf4f" +DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.4.0/compton-conf-0.4.0.tar.gz \ + https://github.com/lxqt/lxqt-l10n/archive/0.13.0/lxqt-l10n-0.13.0.tar.gz" +MD5SUM="c3145019e45b459b14ac5072c0b6cf4f \ + 243bd386ad4cb3f23cb364521f4efc04" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libconfig lxqt-build-tools" |