diff options
Diffstat (limited to 'misc/xbanish/xbanish.SlackBuild')
-rw-r--r-- | misc/xbanish/xbanish.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/misc/xbanish/xbanish.SlackBuild b/misc/xbanish/xbanish.SlackBuild index e40716f7cb0e2..ecad49c16293d 100644 --- a/misc/xbanish/xbanish.SlackBuild +++ b/misc/xbanish/xbanish.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2013 LEVAI Daniel +# Copyright (c) 2013-2014 LEVAI Daniel # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,7 +28,7 @@ # Build script for xbanish PRGNAM=xbanish -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,13 +73,14 @@ fi cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" make mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/man/man1 make install PREFIX=/usr DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ @@ -87,6 +88,9 @@ cp -a README $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -type f -exec chmod 0644 {} \; +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/install cat $CWD/slack-desc > $PKG/install/slack-desc |