aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNick Smallbone <nick@smallbone.se>2024-09-12 09:08:05 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:36:41 +0700
commit28dd9505978dab7f86c22d41f6b48cb959e468c3 (patch)
tree71e25bbf9887c6a52889802f7495d263599d41f0 /desktop
parent57667299eef3bf9f86fbefa53d9cf9d31bc3fcfb (diff)
desktop/xfce4-cpufreq-plugin: New maintainer.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild9
-rw-r--r--desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.info4
2 files changed, 8 insertions, 5 deletions
diff --git a/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild b/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild
index 7001a730ecde..9b04b8d15e2b 100644
--- a/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild
+++ b/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/bash
-# Slackware build script for xfce4-netload-plugin
+# Slackware build script for xfce4-cpufreq-plugin
# Copyright 2006-2022 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2024 Nick Smallbone nick@smallbone.se
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -59,6 +60,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=""
@@ -83,13 +87,12 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc/xfce \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.info b/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.info
index db48d142f80a..c6e7fd72b38b 100644
--- a/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.info
+++ b/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.info
@@ -6,5 +6,5 @@ MD5SUM="ea87da45feed6edb342f0e7ede77edbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Petar Petrov"
-EMAIL="slackalaxy@gmail.com"
+MAINTAINER="Nick Smallbone"
+EMAIL="nick@smallbone.se"