summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorMarek Srejma <sam_web@yahoo.de>2020-04-02 00:27:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-02 00:27:58 +0700
commit2e928adbe8b046ee96c9b6ccf754720e68994a2c (patch)
treeb930eb431c7569cb86ad367cc8ab81ff72b105e2 /office
parent1a6877b2d018332b77d01b8e76bfe6566d912f62 (diff)
downloadslackbuilds-2e928adbe8b046ee96c9b6ccf754720e68994a2c.tar.gz
office/hamster: Updated for version 3.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/hamster/hamster.SlackBuild14
-rw-r--r--office/hamster/hamster.info8
2 files changed, 10 insertions, 12 deletions
diff --git a/office/hamster/hamster.SlackBuild b/office/hamster/hamster.SlackBuild
index 4795941492..1f7a9b21b2 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
diff --git a/office/hamster/hamster.info b/office/hamster/hamster.info
index 7003f8b396..af61e0cbc5 100644
--- a/office/hamster/hamster.info
+++ b/office/hamster/hamster.info
@@ -1,10 +1,10 @@
PRGNAM="hamster"
-VERSION="1.04"
+VERSION="3.0.1"
HOMEPAGE="http://projecthamster.org/"
-DOWNLOAD="https://github.com/projecthamster/hamster/archive/hamster-time-tracker-1.04.tar.gz"
-MD5SUM="148ffee0c26c5c4ddfa4ebc9a21fa860"
+DOWNLOAD="https://github.com/projecthamster/hamster/archive/v3.0.1/hamster-3.0.1.tar.gz"
+MD5SUM="fc408882ca5253fc81da81e3790e1375"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnome-python2-gconf pyxdg"
+REQUIRES="pygobject3-python3 dbus-python3 pyxdg"
MAINTAINER="Marek Srejma"
EMAIL="sam_web@yahoo.de"