diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2017-04-15 22:17:15 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-22 08:11:03 +0700 |
commit | 769073fa0cd431767c94183eaa790a65ca2b6092 (patch) | |
tree | 514988c4a25045a6fefdea74fd8b78ce784d007c /office/marave/marave.SlackBuild | |
parent | 2772a24c8c3d584f9e2a2877cf419aefc7f9e586 (diff) |
office/marave: Update script, HOMEPAGE & DOWNLOAD url.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'office/marave/marave.SlackBuild')
-rw-r--r-- | office/marave/marave.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/office/marave/marave.SlackBuild b/office/marave/marave.SlackBuild index 6777a1a04da67..d4b90cedd03d8 100644 --- a/office/marave/marave.SlackBuild +++ b/office/marave/marave.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for marave -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,8 @@ PRGNAM=marave VERSION=${VERSION:-0.7} -BUILD=${BUILD:-1} +SRCVER=${SRCVER:-master} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +unzip $CWD/$PRGNAM-$SRCVER.zip || unzip $CWD/$SRCVER.zip +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,7 +82,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |