mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/casperjs: Updated for version 1.1beta2.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
e6d5514a8e
commit
1fc38f5621
2 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="casperjs"
|
||||
VERSION="1.0.0rc1"
|
||||
VERSION="1.1beta2"
|
||||
HOMEPAGE="http://casperjs.org/"
|
||||
DOWNLOAD="https://github.com/n1k0/casperjs/tarball/1.0.0-RC1/n1k0-casperjs-1.0.0-RC1-0-g5428865.tar.gz"
|
||||
MD5SUM="e73352ac8bb49e5a059a4732cc132816"
|
||||
DOWNLOAD="https://github.com/n1k0/casperjs/tarball/1.1-beta2/n1k0-casperjs-1.1-beta2-0-g4225d4c.tar.gz"
|
||||
MD5SUM="041eb503b3dfcb3c91e9173fdad45e58"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="phantomjs"
|
||||
|
|
Loading…
Reference in a new issue