aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/xfce4-timer-plugin/doinst.sh6
-rw-r--r--desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild15
-rw-r--r--desktop/xfce4-timer-plugin/xfce4-timer-plugin.info6
3 files changed, 18 insertions, 9 deletions
diff --git a/desktop/xfce4-timer-plugin/doinst.sh b/desktop/xfce4-timer-plugin/doinst.sh
index 5fb28930db0b9..65c7e2eeb9aa5 100644
--- a/desktop/xfce4-timer-plugin/doinst.sh
+++ b/desktop/xfce4-timer-plugin/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild b/desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild
index 12444f9184842..741a92cb073cb 100644
--- a/desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild
+++ b/desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfce4-timer-plugin
-# Copyright 2015-2020 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2015-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xfce4-timer-plugin
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-1.7.2}
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
@@ -59,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -91,8 +91,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/xfce4/panel/plugins/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING NEWS README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/xfce4-timer-plugin/xfce4-timer-plugin.info b/desktop/xfce4-timer-plugin/xfce4-timer-plugin.info
index 67d05fa124ee4..e1aeac68c614d 100644
--- a/desktop/xfce4-timer-plugin/xfce4-timer-plugin.info
+++ b/desktop/xfce4-timer-plugin/xfce4-timer-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="xfce4-timer-plugin"
-VERSION="1.7.1"
+VERSION="1.7.2"
HOMEPAGE="https://docs.xfce.org/panel-plugins/xfce4-timer-plugin"
-DOWNLOAD="https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/xfce4-timer-plugin-1.7.1.tar.bz2"
-MD5SUM="e0df5b6be30993719d084fc4f78a6218"
+DOWNLOAD="https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/xfce4-timer-plugin-1.7.2.tar.bz2"
+MD5SUM="7ef3c9ed6829ce810b26801f5ab6907a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""