summaryrefslogtreecommitdiff
path: root/desktop/wbar/wbar.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-24 21:44:09 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-08-27 08:40:03 -0500
commitda10f6b527888f064a8dbce75146922b3468dda7 (patch)
treeedf748ac9beacb1d0acead420f2f45f46fb554f6 /desktop/wbar/wbar.SlackBuild
parent630bf4becd4091c04d018cc093b400b7cfd03746 (diff)
downloadslackbuilds-da10f6b527888f064a8dbce75146922b3468dda7.tar.gz
desktop/wbar: Updated for version 20120503svn_r51.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/wbar/wbar.SlackBuild')
-rw-r--r--desktop/wbar/wbar.SlackBuild13
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