summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-03-16 08:34:20 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:16 -0500
commit1e7b7318e0c50469dcf4eb5c207fd1e1e5f7e76d (patch)
tree73f70f3ab978eeeeffd2cab1a28d3a8dab07f3c1
parentece0a8867ca942f270032f8879bb5abc846ea308 (diff)
downloadslackbuilds-1e7b7318e0c50469dcf4eb5c207fd1e1e5f7e76d.tar.gz
misc/xbanish: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/xbanish/xbanish.SlackBuild16
-rw-r--r--misc/xbanish/xbanish.info6
2 files changed, 13 insertions, 9 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
diff --git a/misc/xbanish/xbanish.info b/misc/xbanish/xbanish.info
index f8429a722b..570a6c189a 100644
--- a/misc/xbanish/xbanish.info
+++ b/misc/xbanish/xbanish.info
@@ -1,8 +1,8 @@
PRGNAM="xbanish"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="https://github.com/jcs/xbanish"
-DOWNLOAD="https://github.com/jcs/xbanish/archive/v1.1.tar.gz"
-MD5SUM="df212d74b6cd1b3a515ba74886fc2962"
+DOWNLOAD="https://github.com/jcs/xbanish/archive/v1.2.tar.gz"
+MD5SUM="6349c8e0ccafb19e1f61dfc0fd507437"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""