diff options
author | Andrew Tkalia <anddt@yandex.ru> | 2013-05-19 09:12:44 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-05-19 09:12:44 -0400 |
commit | f4641efb4ddd4077e7e23ccaa04e3725f009c936 (patch) | |
tree | fd7cdb18ec5bc5ff3a8cb27ce9f18c0b41269cb5 /system/makeself/makeself.SlackBuild | |
parent | 651035df0d48f00143e30dac98881aacae830f5b (diff) |
system/makeself: Updated for version 2.2.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/makeself/makeself.SlackBuild')
-rw-r--r-- | system/makeself/makeself.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/system/makeself/makeself.SlackBuild b/system/makeself/makeself.SlackBuild index 3778185dd8079..633ca7e79b62b 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 |