summaryrefslogtreecommitdiff
path: root/ruby/gem2tgz
diff options
context:
space:
mode:
authorGwenhael Le Moine <gwenhael.le.moine@gmail.com>2012-03-30 00:11:23 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-03-30 00:11:23 -0400
commit4548962178ae48347c4b4f1d4fd59babe3bf0562 (patch)
tree549e3f325467a3573927b50650ed7cefe7c860d0 /ruby/gem2tgz
parent768b9f36c5f562eb36ad90bf79361a9d68e932a0 (diff)
downloadslackbuilds-4548962178ae48347c4b4f1d4fd59babe3bf0562.tar.gz
ruby/gem2tgz: Updated for new source.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'ruby/gem2tgz')
-rw-r--r--ruby/gem2tgz/gem2tgz.SlackBuild8
-rw-r--r--ruby/gem2tgz/gem2tgz.info4
2 files changed, 5 insertions, 7 deletions
diff --git a/ruby/gem2tgz/gem2tgz.SlackBuild b/ruby/gem2tgz/gem2tgz.SlackBuild
index b584eae9a8..8882903293 100644
--- a/ruby/gem2tgz/gem2tgz.SlackBuild
+++ b/ruby/gem2tgz/gem2tgz.SlackBuild
@@ -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
diff --git a/ruby/gem2tgz/gem2tgz.info b/ruby/gem2tgz/gem2tgz.info
index 9318e17414..68e1969edb 100644
--- a/ruby/gem2tgz/gem2tgz.info
+++ b/ruby/gem2tgz/gem2tgz.info
@@ -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"