summaryrefslogtreecommitdiff
path: root/network/dwb/dwb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dwb/dwb.SlackBuild')
-rw-r--r--network/dwb/dwb.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/dwb/dwb.SlackBuild b/network/dwb/dwb.SlackBuild
index 2e4ddfe564..8c29ddceb9 100644
--- a/network/dwb/dwb.SlackBuild
+++ b/network/dwb/dwb.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for dwb by Marcin Herda <mherda@slackword.net>
PRGNAM=dwb
-VERSION=${VERSION:-2012.08.22}
+VERSION=${VERSION:-2012.12.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,6 +52,9 @@ find . \
# fix the location of man pages
sed -i '/^MANDIR/s/DATAROOTDIR/PREFIX/' config.mk
+# remove an unnecessary linker
+sed -i '/-lreadline/d' tools/Makefile
+
CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
@@ -70,6 +73,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}