aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2023-11-16 10:16:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-16 12:08:43 +0700
commitb23c4857efa947d306a23cf04195399045d924a6 (patch)
treeba2750d1eb2b7c2f07f92fc729d868156ee89eda /desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild
parent30a3441f986e36153827d431efc361b1048070e9 (diff)
desktop/xfce4-timer-plugin: Updated for version 1.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild')
-rw-r--r--desktop/xfce4-timer-plugin/xfce4-timer-plugin.SlackBuild15
1 files changed, 9 insertions, 6 deletions
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