diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:23:44 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:23:44 +0200 |
commit | b5cbb1c3c8844f5ea5e0542dee127b45b8fd5c20 (patch) | |
tree | 155ca7c48361f94e24bb77c4de3f89e37f4bd989 /libraries/guichan/guichan.SlackBuild | |
parent | 5eb46d0a592128aba3adc2fd26e60d904c17b1ef (diff) | |
download | slackbuilds-b5cbb1c3c8844f5ea5e0542dee127b45b8fd5c20.tar.gz |
libraries/guichan: Updated for version 0.8.1
Diffstat (limited to 'libraries/guichan/guichan.SlackBuild')
-rw-r--r-- | libraries/guichan/guichan.SlackBuild | 24 |
1 files changed, 10 insertions, 14 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 \ |