diff options
Diffstat (limited to 'mcabber/build/mcabber.SlackBuild')
-rwxr-xr-x | mcabber/build/mcabber.SlackBuild | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/mcabber/build/mcabber.SlackBuild b/mcabber/build/mcabber.SlackBuild index 0dfc3f38..0e0c529b 100755 --- a/mcabber/build/mcabber.SlackBuild +++ b/mcabber/build/mcabber.SlackBuild @@ -33,6 +33,8 @@ # * New release (configure bugfix). # 0.8.2-1: 19/sep/2006 by Eric Hameleers <alien@slackware.com> # * New release. +# 0.8.3-1: 16/nov/2006 by Eric Hameleers <alien@slackware.com> +# * New release. Lots of new features, read the changelog. # # Run 'sh SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -48,7 +50,7 @@ if [ "$TMP" = "" ]; then fi PRGNAM=mcabber -VERSION=0.8.2 +VERSION=0.8.3 ARCH=${ARCH:-i486} BUILD=1 @@ -91,7 +93,7 @@ if [ ! -d $PKG ]; then fi # Download the sources if requested -if [ "${SOURCE}" != "" ] && ! [ -f ${CWD}/${SOURCE} ]; then +if [ "x${SOURCE}" != "x" ] && ! [ -f ${CWD}/${SOURCE} ]; then echo "Source '${SOURCE}' not available yet... will download now:" wget -nv -O ${CWD}/${SOURCE} "${SRCURL}" if [ $? -ne 0 ]; then @@ -128,25 +130,10 @@ fi cd $TMP/tmp-$PRGNAM -if [ ! -f $CWD/${PRGNAM}-${VERSION}.tar.bz2 ]; then - echo "Retrieving missing source archive first..." - wget -nv -O $CWD/${PRGNAM}-${VERSION}.tar.bz2 \ - http://www.lilotux.net/~mikael/${PRGNAM}/files/${PRGNAM}-${VERSION}.tar.bz2 - if [ $? -ne 0 ]; then - echo "Download failed! Aborting" - mv $CWD/${PRGNAM}-${VERSION}.tar.bz2 $CWD/${PRGNAM}-${VERSION}.tar.bz2.FAIL - exit 1 - fi -fi - # --- TARBALL EXTRACTION,PATCH,MODIFY --- echo "Extracting the source archive for $PRGNAM..." -if `file $CWD/${SOURCE} | grep -q ": bzip2"`; then - tar -xjvf $CWD/${SOURCE} -else - tar -xzvf $CWD/${SOURCE} -fi +tar -xvf $CWD/${SOURCE} if [ $? -ne 0 ]; then echo "Error in unpacking '${SOURCE}!' Aborting..." exit $? @@ -156,7 +143,7 @@ cd ${PRGNAM}-${VERSION} # Small patch for 0.8.0, will be fixed in next release: #patch -p1 < $CWD/fix_configure_ncurses.diff -chown -R root.root * +chown -R root:root * find . -perm 777 -exec chmod 755 {} \; @@ -294,7 +281,7 @@ chmod -R o-w $PKG mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc if [ -f $CWD/doinst.sh ]; then - cat $CWD/doinst.sh > $PKG/install/doinst.sh + cat $CWD/doinst.sh >> $PKG/install/doinst.sh fi |