mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/hamster: Updated for version 3.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1a6877b2d0
commit
2e928adbe8
2 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue