summaryrefslogtreecommitdiffstats
path: root/misc/xbanish/xbanish.SlackBuild
diff options
context:
space:
mode:
author LEVAI Daniel2014-03-16 02:34:20 +0100
committer Erik Hanson2014-03-21 19:01:16 +0100
commit1e7b7318e0c50469dcf4eb5c207fd1e1e5f7e76d (patch)
tree73f70f3ab978eeeeffd2cab1a28d3a8dab07f3c1 /misc/xbanish/xbanish.SlackBuild
parentece0a8867ca942f270032f8879bb5abc846ea308 (diff)
downloadslackbuilds-1e7b7318e0c50469dcf4eb5c207fd1e1e5f7e76d.tar.gz
misc/xbanish: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/xbanish/xbanish.SlackBuild')
-rw-r--r--misc/xbanish/xbanish.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/misc/xbanish/xbanish.SlackBuild b/misc/xbanish/xbanish.SlackBuild
index e40716f7cb..ecad49c162 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