diff options
Diffstat (limited to 'office/hamster/hamster.SlackBuild')
-rw-r--r-- | office/hamster/hamster.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/office/hamster/hamster.SlackBuild b/office/hamster/hamster.SlackBuild index 4795941492992..1f7a9b21b28f2 100644 --- a/office/hamster/hamster.SlackBuild +++ b/office/hamster/hamster.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for Hamster - The Gnome Time Tracker # -# Copyright 2016 Marek Srejma (sam_web@yahoo.de) +# Copyright 2016-2020 Marek Srejma (sam_web@yahoo.de) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hamster -VERSION=${VERSION:-1.04} +VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -ARCHIVE="hamster-time-tracker-$VERSION" - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -61,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$ARCHIVE -tar xvf $CWD/$PRGNAM-$ARCHIVE.tar.gz || tar xvf $CWD/$ARCHIVE.tar.gz -cd $PRGNAM-$ARCHIVE +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ @@ -83,7 +81,7 @@ DESTDIR=$PKG \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING MAINTAINERS NEWS README.textile TODO \ + AUTHORS COPYING MAINTAINERS NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |