development/phantomjs: Updated for version 1.9.8.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2014-12-16 07:56:47 +07:00 committed by Willy Sudiarto Raharjo
parent e002753682
commit 5afe1616fe
2 changed files with 8 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for phantomjs # Slackware build script for phantomjs
# Copyright 2012-2013 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=phantomjs PRGNAM=phantomjs
VERSION=1.9.2 VERSION=${VERSION:-1.9.8}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} 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 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE.BSD README.md $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="phantomjs" PRGNAM="phantomjs"
VERSION="1.9.2" VERSION="1.9.8"
HOMEPAGE="http://phantomjs.org/" HOMEPAGE="http://phantomjs.org/"
DOWNLOAD="https://phantomjs.googlecode.com/files/phantomjs-1.9.2-source.zip" DOWNLOAD="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip"
MD5SUM="3751244215bbec2e1eae74477ffdcb4a" MD5SUM="f8163aef2230ebbda2d25a71a06ded7d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="chrpath" REQUIRES="chrpath"