diff options
author | Brenton Earl <brent@exitstatusone.com> | 2016-12-29 17:54:27 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-30 23:30:12 +0000 |
commit | 10b6baf6100230a55f1801128c1a6db336cf00e2 (patch) | |
tree | fa8fd76185a467448468be4dc277284e578f20a0 | |
parent | 73c2fc44b70a78859f20d4510ba9446892c7f2fc (diff) |
office/impressive: Tweaked SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | office/impressive/impressive.SlackBuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/office/impressive/impressive.SlackBuild b/office/impressive/impressive.SlackBuild index ca22e8ecfe58c..57c6a23b2a7bb 100644 --- a/office/impressive/impressive.SlackBuild +++ b/office/impressive/impressive.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for impressive -# Copyright 2010 Binh Nguyen <binhvng@gmail.com> -# Copyright 2015 Brenton Earl <brent@exitstatusone.com> +# Copyright 2010 Binh Nguyen <binhvng@gmail.com> +# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,6 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=impressive +SRCNAM=Impressive VERSION=${VERSION:-0.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,21 +41,23 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf Impressive-$VERSION -tar xvf $CWD/Impressive-$VERSION.tar.gz -cd Impressive-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; install -D -m 0755 $PRGNAM.py $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/man/man1 cat $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1 + find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $PRGNAM.html demo.pdf changelog.txt license.txt $PKG/usr/doc/$PRGNAM-$VERSION |