aboutsummaryrefslogtreecommitdiff
path: root/ruby/gem2tgz/gem2tgz.SlackBuild
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/gem2tgz.SlackBuild
parent768b9f36c5f562eb36ad90bf79361a9d68e932a0 (diff)
ruby/gem2tgz: Updated for new source.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'ruby/gem2tgz/gem2tgz.SlackBuild')
-rw-r--r--ruby/gem2tgz/gem2tgz.SlackBuild8
1 files changed, 3 insertions, 5 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