summaryrefslogtreecommitdiff
path: root/desktop/superkey-launch/superkey-launch.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-04-17 08:30:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:38 +0700
commit5fe6e80d68906dd71f9540f2f939eef958f82d44 (patch)
tree8c9c43c63650cdac7c4b383b54f278292dafaff2 /desktop/superkey-launch/superkey-launch.SlackBuild
parent6c8cc52ff4d242315fe7cfc802138f7957442a15 (diff)
downloadslackbuilds-5fe6e80d68906dd71f9540f2f939eef958f82d44.tar.gz
desktop/superkey-launch: Updated for version 1.51.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/superkey-launch/superkey-launch.SlackBuild')
-rw-r--r--desktop/superkey-launch/superkey-launch.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/desktop/superkey-launch/superkey-launch.SlackBuild b/desktop/superkey-launch/superkey-launch.SlackBuild
index 6f678fca11..b515a853fd 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