summaryrefslogtreecommitdiff
path: root/network/dwb/dwb.SlackBuild
diff options
context:
space:
mode:
authorMarcin Herda <mherda@slackword.net>2013-03-13 05:05:17 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:46 -0400
commit0bb6f89513ed31c1d4f8180e2b0f8c8f445d4606 (patch)
tree1e03a224a77617a550fd92c41439f2b54c0e000d /network/dwb/dwb.SlackBuild
parent52413b08e63b2bbc3dadc262413bca1436668d7d (diff)
downloadslackbuilds-0bb6f89513ed31c1d4f8180e2b0f8c8f445d4606.tar.gz
network/dwb: Updated for version 2012.12.03.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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}