mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
misc/gcp: Script clean-up, new DOWNLOAD link.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
a2301913e8
commit
916259c444
2 changed files with 7 additions and 14 deletions
|
@ -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 .
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="gcp"
|
||||
VERSION="0.1.3"
|
||||
HOMEPAGE="http://wiki.goffi.org/wiki/Gcp"
|
||||
DOWNLOAD="ftp://ftp.goffi.org/gcp/gcp.tar.bz2"
|
||||
DOWNLOAD="ftp://ftp.goffi.org/gcp/gcp-0.1.3.tar.bz2"
|
||||
MD5SUM="146da3e5508be6273b0a9169326286f2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Chris Abela"
|
||||
EMAIL="kristofru@gmail.com"
|
||||
APPROVED="Niels Horn"
|
||||
APPROVED="Niels Horn,Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue