From 5fe6e80d68906dd71f9540f2f939eef958f82d44 Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Thu, 17 Apr 2014 08:30:42 +0700 Subject: desktop/superkey-launch: Updated for version 1.51. Signed-off-by: Willy Sudiarto Raharjo --- desktop/superkey-launch/superkey-launch.SlackBuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'desktop/superkey-launch/superkey-launch.SlackBuild') diff --git a/desktop/superkey-launch/superkey-launch.SlackBuild b/desktop/superkey-launch/superkey-launch.SlackBuild index 6f678fca1119a..b515a853fd313 100644 --- a/desktop/superkey-launch/superkey-launch.SlackBuild +++ b/desktop/superkey-launch/superkey-launch.SlackBuild @@ -29,7 +29,7 @@ # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=superkey-launch -VERSION=${VERSION:-0.32} +VERSION=${VERSION:-1.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,6 +69,7 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION +sed -i "s|MANDIR?=/local/man/man1|MANDIR?=/man/man1|" Makefile make \ OPTS="$SLKCFLAGS" \ PREFIX=/usr \ @@ -84,9 +85,12 @@ make install \ X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 \ DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 +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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3