ruby/gem2tgz: Updated for new source.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Gwenhael Le Moine 2012-03-30 00:11:23 -04:00 committed by dsomero
parent 768b9f36c5
commit 4548962178
2 changed files with 5 additions and 7 deletions

View File

@ -6,13 +6,12 @@
PRGNAM=gem2tgz
VERSION=1.3
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
SRCNAM="cycojesus-gem2tgz-v1.3-0-g8e897f5.tar.gz"
SRCDIRNAM="cycojesus-gem2tgz-8e897f5/"
SRCNAM="gem2tgz-$VERSION.tar.xz"
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@ -25,7 +24,6 @@ rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xvf $CWD/$SRCNAM
mv $SRCDIRNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root.root .
find . \
@ -36,7 +34,7 @@ find . \
mkdir -p $PKG/usr/{bin,doc/$PRGNAM-$VERSION}
cp gem2tgz $PKG/usr/bin
chmod 755 $PKG/usr/bin/gem2tgz
chmod 0755 $PKG/usr/bin/gem2tgz
cp README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="gem2tgz"
VERSION="1.3"
HOMEPAGE="http://github.com/cycojesus/gem2tgz"
DOWNLOAD="https://github.com/cycojesus/gem2tgz/tarball/v1.3"
MD5SUM="fccfc52c6753f9f2de2f547996cf335f"
DOWNLOAD="https://github.com/downloads/cycojesus/gem2tgz/gem2tgz-1.3.tar.xz"
MD5SUM="c0ef32bd560d37c0a33f9bd7b9985222"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Gwenhael Le Moine"