From b5cbb1c3c8844f5ea5e0542dee127b45b8fd5c20 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 22:23:44 +0200 Subject: libraries/guichan: Updated for version 0.8.1 --- libraries/guichan/guichan.SlackBuild | 24 ++++++++++-------------- libraries/guichan/guichan.info | 8 ++++---- 2 files changed, 14 insertions(+), 18 deletions(-) (limited to 'libraries/guichan') 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 + +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 -- cgit v1.2.3