diff options
author | Chris Abela <kristofru@gmail.com> | 2012-01-05 07:04:15 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-01-05 07:04:15 -0600 |
commit | 916259c444032f2d827c9761f9e9fb470dff393a (patch) | |
tree | 97edae97a1d14ef843158dd5054ff95993a42f60 /misc/gcp/gcp.SlackBuild | |
parent | a2301913e86acfad09d63b2d8b1bcf5d6edc6ddb (diff) |
misc/gcp: Script clean-up, new DOWNLOAD link.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/gcp/gcp.SlackBuild')
-rw-r--r-- | misc/gcp/gcp.SlackBuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/misc/gcp/gcp.SlackBuild b/misc/gcp/gcp.SlackBuild index 8594e468f5d0..05b74b9903f6 100644 --- a/misc/gcp/gcp.SlackBuild +++ b/misc/gcp/gcp.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for gcp - + # Copyright 2011 Chris Abela, Malta # All rights reserved. # @@ -24,29 +24,22 @@ PRGNAM=gcp VERSION=${VERSION:-0.1.3} -BUILD=${BUILD:-1} +ARCH=noarch # Leave this alone +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . |