diff options
Diffstat (limited to 'ruby/gem2tgz/gem2tgz.SlackBuild')
-rw-r--r-- | ruby/gem2tgz/gem2tgz.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ruby/gem2tgz/gem2tgz.SlackBuild b/ruby/gem2tgz/gem2tgz.SlackBuild index b584eae9a88b..888290329314 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 |