diff options
author | Eric Hameleers <alien@slackware.com> | 2013-07-24 14:50:17 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-07-24 14:50:17 +0000 |
commit | 512c8b75bfbe361fd726bb0fa34c0e4d6795d653 (patch) | |
tree | 63a44a913eb16fd674f2a267a2e3eb323350187f /apache-websocket | |
parent | da7c58fa8e44e9732fb482b4b0dbd35382a0cf26 (diff) | |
download | asb-512c8b75bfbe361fd726bb0fa34c0e4d6795d653.tar.gz asb-512c8b75bfbe361fd726bb0fa34c0e4d6795d653.tar.xz |
Use today as the package version. Download the git master tarball by default
Diffstat (limited to 'apache-websocket')
-rwxr-xr-x | apache-websocket/build/apache-websocket.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apache-websocket/build/apache-websocket.SlackBuild b/apache-websocket/build/apache-websocket.SlackBuild index 0b5d2001..917d7942 100755 --- a/apache-websocket/build/apache-websocket.SlackBuild +++ b/apache-websocket/build/apache-websocket.SlackBuild @@ -40,7 +40,7 @@ # ----------------------------------------------------------------------------- PRGNAM=apache-websocket -VERSION=${VERSION:-20130723} +VERSION=${VERSION:-$(date +%Y%m%d)} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -55,8 +55,9 @@ TMP=${TMP:-/tmp/build} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# We always just checkout master and stamp it with the current date: SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.xz" -#SRCURL="" +SRCURL="http://github.com/abligh/apache-websocket/tarball/master" ## ## --- with a little luck, you won't have to edit below this point --- ## @@ -148,7 +149,7 @@ echo "++" cd $TMP/tmp-$PRGNAM echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} -cd ${PRGNAM}-${VERSION} +cd *${PRGNAM}-* chown -R root:root . chmod -R u+w,go+r-w,a+X-s . |