diff options
Diffstat (limited to 'desktop/wbar/wbar.SlackBuild')
-rw-r--r-- | desktop/wbar/wbar.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop/wbar/wbar.SlackBuild b/desktop/wbar/wbar.SlackBuild index 191294a6fb..a832db4cb2 100644 --- a/desktop/wbar/wbar.SlackBuild +++ b/desktop/wbar/wbar.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wbar -# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm> +# Copyright 2010-2012 Binh Nguyen <binhnguyen@fastmail.fm> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wbar -VERSION=${VERSION:-2.2.2} +VERSION=${VERSION:-20120503svn_r51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tbz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -74,7 +74,7 @@ sed -i 's|pidof|/sbin/pidof|g' src/config/Run.cc CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +./autogen.sh \ --prefix=/usr \ --exec-prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -95,8 +95,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; # Replace the heavily Debian-oriented default config file -rm $PKG/etc/default/wbar/wbar.cfg -cat $CWD/wbar.cfg > $PKG/etc/default/wbar/wbar.cfg.new +rm $PKG/etc/wbar.d/wbar.cfg +cat $CWD/wbar.cfg > $PKG/etc/wbar.d/wbar.cfg.new + # And supply an icon set for that config (from Salix) tar xvf $CWD/icons.tar.gz mkdir -p $PKG/usr/share/pixmaps/wbar/slack |