diff options
Diffstat (limited to 'desktop/compton-conf/compton-conf.SlackBuild')
-rw-r--r-- | desktop/compton-conf/compton-conf.SlackBuild | 9 |
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 |