aboutsummaryrefslogtreecommitdiff
path: root/desktop/compton-conf/compton-conf.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-07-28 00:05:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-28 08:51:48 +0700
commitc43514ff28d1812fbee7b50c919cedd35f46548b (patch)
tree2dcdc1ea62d3f67efe24b60b11f394de2a235f08 /desktop/compton-conf/compton-conf.SlackBuild
parente94ee23d320f1b337481b4742b80da97a917a3d8 (diff)
desktop/compton-conf: Update script; added lxqt_l10n sources.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/compton-conf/compton-conf.SlackBuild')
-rw-r--r--desktop/compton-conf/compton-conf.SlackBuild9
1 files changed, 7 insertions, 2 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