aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-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 b584eae9a88b1..8882903293148 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 9318e174140b9..68e1969edb51c 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"