summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Tkalia <anddt@yandex.ru>2013-05-19 09:12:44 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-05-19 09:12:44 -0400
commitf4641efb4ddd4077e7e23ccaa04e3725f009c936 (patch)
treefd7cdb18ec5bc5ff3a8cb27ce9f18c0b41269cb5 /system
parent651035df0d48f00143e30dac98881aacae830f5b (diff)
downloadslackbuilds-f4641efb4ddd4077e7e23ccaa04e3725f009c936.tar.gz
system/makeself: Updated for version 2.2.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/makeself/makeself.SlackBuild17
-rw-r--r--system/makeself/makeself.info8
2 files changed, 14 insertions, 11 deletions
diff --git a/system/makeself/makeself.SlackBuild b/system/makeself/makeself.SlackBuild
index 3778185dd8..633ca7e79b 100644
--- a/system/makeself/makeself.SlackBuild
+++ b/system/makeself/makeself.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for makeself
-# Copyright 2013, Andrew Tkalia, Ukraine, Kyiv
+# Copyright 2013, Andrew Tkalia <anddt@yandex.ru>, Ukraine, Kyiv
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=makeself
-VERSION=2.1.5
+VERSION=2.2.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,9 +39,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-sh $CWD/$PRGNAM-$VERSION.run
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release-$VERSION
+tar zxvf $CWD/release-${VERSION}.tar.gz
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -49,14 +49,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i -e "s,HEADER\=\`dirname \"\$0\"\`,HEADER\=\/usr\/share,g" makeself.sh
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/man/man1
-cp -a makeself-header.sh makeself.sh $PKG/usr/bin
+mkdir -p $PKG/usr/share
+cp makeself-header.sh $PKG/usr/share
+cp makeself.sh $PKG/usr/bin
cat makeself.1 |gzip -9 > $PKG/usr/man/man1/makeself.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING TODO README makeself.lsm \
+ COPYING README.md makeself.lsm update-readme \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/makeself/makeself.info b/system/makeself/makeself.info
index dad88236ab..c99409f8ff 100644
--- a/system/makeself/makeself.info
+++ b/system/makeself/makeself.info
@@ -1,8 +1,8 @@
PRGNAM="makeself"
-VERSION="2.1.5"
-HOMEPAGE="http://megastep.org/makeself/"
-DOWNLOAD="http://megastep.org/makeself/makeself-2.1.5.run"
-MD5SUM="85f03bd3602fd55debec6ae449f7c15c"
+VERSION="2.2.0"
+HOMEPAGE="https://github.com/megastep/makeself"
+DOWNLOAD="https://github.com/megastep/makeself/archive/release-2.2.0.tar.gz"
+MD5SUM="8075530b2ad0a2fbd4bffa80a96eb2ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""