diff options
Diffstat (limited to 'desktop/obsession/obsession.SlackBuild')
-rw-r--r-- | desktop/obsession/obsession.SlackBuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/desktop/obsession/obsession.SlackBuild b/desktop/obsession/obsession.SlackBuild index 0b8fc54d3becb..2a34c6a885019 100644 --- a/desktop/obsession/obsession.SlackBuild +++ b/desktop/obsession/obsession.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh +# # Slackware build script for obsession. - +# # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # @@ -23,7 +24,7 @@ PRGNAM=obsession VERSION=${VERSION:-20140608} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,9 +69,13 @@ 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 {} \; +rm -rf {archlinux,.hg*} + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +patch -p1 < $CWD/0001-make-clean-now-revert-to-pre-configure-state.patch + make configure PREFIX=/usr make make install DESTDIR=$PKG @@ -78,6 +83,12 @@ 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 +mkdir -p $PKG/usr/man/man1 +install -D -m644 {obsession-exit.1,obsession-logout.1,xdg-autostart.1} $PKG/usr/man/man1 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + DOCS="AUTHORS COPYING INSTALL README.md TODO" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |