summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/guichan/guichan.SlackBuild24
-rw-r--r--libraries/guichan/guichan.info8
2 files changed, 14 insertions, 18 deletions
diff --git a/libraries/guichan/guichan.SlackBuild b/libraries/guichan/guichan.SlackBuild
index b9599938e7..3ce7f9ca25 100644
--- a/libraries/guichan/guichan.SlackBuild
+++ b/libraries/guichan/guichan.SlackBuild
@@ -2,13 +2,15 @@
# Slackware build script for guichan
# Written by Erik Hanson erik@slackbuilds.org
-# Modified for version 0.6.1 by ppr:kut <hmwiesinger@gmx.at>
+
+set -eu
PRGNAM=guichan
-VERSION=0.6.1
+VERSION=0.8.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -22,10 +24,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -33,16 +35,10 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var \
- || exit 1
-
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+ --localstatedir=/var
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
diff --git a/libraries/guichan/guichan.info b/libraries/guichan/guichan.info
index 2ed79ae02d..ad356f8770 100644
--- a/libraries/guichan/guichan.info
+++ b/libraries/guichan/guichan.info
@@ -1,8 +1,8 @@
PRGNAM="guichan"
-VERSION="0.6.1"
+VERSION="0.8.1"
HOMEPAGE="http://guichan.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/guichan/guichan-0.6.1.tar.gz"
-MD5SUM="830145f71ad4ce4c91e09808fec68c8a"
+DOWNLOAD="http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz"
+MD5SUM="f9ace11cc70d3ba60b62347172334a5f"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="David Somero" \ No newline at end of file