diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-07-04 07:48:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:14 +0700 |
commit | e05cc8537d8e6f48f1c9bb7ce3e1dee51a1ec188 (patch) | |
tree | 41a1b44174d0de2c074a0bb2d210c81eda1660d9 /desktop/compton-conf/compton-conf.SlackBuild | |
parent | 904a46c2517c07288375a396185216a0e1ca4be1 (diff) |
desktop/compton-conf: Updated for version 0.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/compton-conf/compton-conf.SlackBuild')
-rw-r--r-- | desktop/compton-conf/compton-conf.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild index c8096072fcd74..87ee14d790558 100644 --- a/desktop/compton-conf/compton-conf.SlackBuild +++ b/desktop/compton-conf/compton-conf.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="compton-conf" -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,21 +69,23 @@ 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 {} \; -patch -p1 < $CWD/desktop_entry.patch +mkdir build; cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release \ + -DUPDATE_TRANSLATIONS:BOOL=OFF \ + -Dlxqt-build-tools_DIR:PATH=/usr/share/cmake/lxqt-build-tools \ + .. make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -DOCS="AUTHORS CHANGELOG COPYING README.md compton.conf.example" - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp ../{AUTHORS,CHANGELOG,COPYING,README.md,compton.conf.example} \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |