summaryrefslogtreecommitdiff
path: root/development/phantomjs/phantomjs.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2014-12-16 07:56:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-16 07:56:47 +0700
commit5afe1616feafa5fe1ee4fc6e7c669a2982ae4fb0 (patch)
tree9f16e2392df035879c6f1b65137360691b1bba84 /development/phantomjs/phantomjs.SlackBuild
parente002753682a5ce51f36ded3ccca6445bb32970ae (diff)
downloadslackbuilds-5afe1616feafa5fe1ee4fc6e7c669a2982ae4fb0.tar.gz
development/phantomjs: Updated for version 1.9.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/phantomjs/phantomjs.SlackBuild')
-rw-r--r--development/phantomjs/phantomjs.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/development/phantomjs/phantomjs.SlackBuild b/development/phantomjs/phantomjs.SlackBuild
index 882a61ab10..d5acb67424 100644
--- a/development/phantomjs/phantomjs.SlackBuild
+++ b/development/phantomjs/phantomjs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for phantomjs
-# Copyright 2012-2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# 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=phantomjs
-VERSION=1.9.2
+VERSION=${VERSION:-1.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -101,6 +101,9 @@ install -m 755 bin/phantomjs $PKG/usr/bin/
chrpath -r \$ORIGIN/../lib$LIBDIRSUFFIX/phantomjs-qt $PKG/usr/bin/phantomjs
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE.BSD README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild