summaryrefslogtreecommitdiff
path: root/desktop/whaw/whaw.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-05 07:31:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 00:02:53 +0700
commiteb218cfd9bd6990dc8dc70381e3e1f6de141a335 (patch)
tree7ce8774d7a4cb32f73729c5f966741590175bc44 /desktop/whaw/whaw.SlackBuild
parent1098c7c88fd91e6fc23be269fa99ff397058e87c (diff)
downloadslackbuilds-eb218cfd9bd6990dc8dc70381e3e1f6de141a335.tar.gz
desktop/whaw: Fix DOWNLOAD source and update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/whaw/whaw.SlackBuild')
-rw-r--r--desktop/whaw/whaw.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/whaw/whaw.SlackBuild b/desktop/whaw/whaw.SlackBuild
index dc1c24890a..0f5a6190c4 100644
--- a/desktop/whaw/whaw.SlackBuild
+++ b/desktop/whaw/whaw.SlackBuild
@@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=whaw
-VERSION=0.1.2
+VERSION=${VERSION:-0.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,12 +47,13 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --mandir=/usr/man
CFLAGS="$SLKCFLAGS" CPPFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Compress the man page