summaryrefslogtreecommitdiff
path: root/development/casperjs/casperjs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/casperjs/casperjs.SlackBuild')
-rw-r--r--development/casperjs/casperjs.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/development/casperjs/casperjs.SlackBuild b/development/casperjs/casperjs.SlackBuild
index f9c7fb8ad5..13f45436b4 100644
--- a/development/casperjs/casperjs.SlackBuild
+++ b/development/casperjs/casperjs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for casperjs
-# Copyright 2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2013 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=casperjs
-VERSION=1.0.0rc1
+VERSION=1.1beta2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -52,16 +52,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf n1k0-$PRGNAM-5428865
-tar xvf $CWD/n1k0-$PRGNAM-1.0.0-RC1-0-g5428865.tar.gz
-cd n1k0-$PRGNAM-5428865
+rm -rf n1k0-$PRGNAM-4225d4c
+tar xvf $CWD/n1k0-$PRGNAM-1.1-beta2-0-g4225d4c.tar.gz
+cd n1k0-$PRGNAM-4225d4c
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
mkdir -p $PKG/usr/{bin,share/casperjs}
-cp -r bin modules samples package.json $PKG/usr/share/casperjs/
-ln -s /usr/share/casperjs/bin/casperjs $PKG/usr/bin/
+cp -r bin modules samples tests README.md package.json \
+ $PKG/usr/share/casperjs/
+ln -s /usr/share/casperjs/bin/casperjs \
+ $PKG/usr/bin/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION