diff options
author | Marek Šrejma | 2023-11-22 04:30:35 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2023-11-22 04:59:33 +0100 |
commit | be64fc35884e60ab7998258de04e8886d1184827 (patch) | |
tree | 647acd5a4bcf471ed31b533491b87cfc99899503 /office | |
parent | c00f1e9ef4227dccf9a9903354c015f0fe4b46c3 (diff) | |
download | slackbuilds-be64fc35884e60ab7998258de04e8886d1184827.tar.gz |
office/hamster: Updated for version 3.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/hamster/doinst.sh | 10 | ||||
-rw-r--r-- | office/hamster/hamster.SlackBuild | 20 | ||||
-rw-r--r-- | office/hamster/hamster.info | 6 |
3 files changed, 12 insertions, 24 deletions
diff --git a/office/hamster/doinst.sh b/office/hamster/doinst.sh index 5966297db5..401d987795 100644 --- a/office/hamster/doinst.sh +++ b/office/hamster/doinst.sh @@ -1,13 +1,3 @@ -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} - -schema_install hamster-time-tracker.schemas - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi diff --git a/office/hamster/hamster.SlackBuild b/office/hamster/hamster.SlackBuild index 91d3d955f1..68099e3db1 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-2022 Marek Šrejma <marek@modweb.de>, Germany +# Copyright 2016-2023 Marek Šrejma <marek@modweb.de>, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=hamster -VERSION=${VERSION:-3.0.2} +VERSION=${VERSION:-3.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,13 +47,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" +if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then +elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else @@ -78,6 +72,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -e "s/python/python3/" -i waf + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./waf configure build \ @@ -89,6 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \ DESTDIR=$PKG \ ./waf install +rm -f $PKG/usr/share/glib-2.0/schemas/gschemas.compiled + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING MAINTAINERS NEWS.md README.md \ diff --git a/office/hamster/hamster.info b/office/hamster/hamster.info index 93a00e0497..aa965cda48 100644 --- a/office/hamster/hamster.info +++ b/office/hamster/hamster.info @@ -1,8 +1,8 @@ PRGNAM="hamster" -VERSION="3.0.2" +VERSION="3.0.3" HOMEPAGE="http://projecthamster.org/" -DOWNLOAD="https://github.com/projecthamster/hamster/archive/v3.0.2/hamster-3.0.2.tar.gz" -MD5SUM="1c229c304cc0aae85f02c72a4e27d66a" +DOWNLOAD="https://github.com/projecthamster/hamster/archive/v3.0.3/hamster-3.0.3.tar.gz" +MD5SUM="5594d01516278c48584f335b97f5a55f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |