summaryrefslogtreecommitdiffstats
path: root/source/xfce/elementary-xfce
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsource/xfce/elementary-xfce/elementary-xfce.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/xfce/elementary-xfce/elementary-xfce.SlackBuild b/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
index 3e9c8d2be..675a21331 100755
--- a/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
+++ b/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for elementary-xfce
# Copyright 2019 Robby Workman, Tuscaloosa, Alabama, USA
-# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2020, 2021, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=elementary-xfce
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -108,6 +108,9 @@ sed -i "s,xargs optipng,xargs $TMP/package-optipng/optipng,g" Makefile
make $NUMJOBS || exit 1
make install DESTDIR=$PKG || exit 1
+# Remove any dangling symlinks:
+find $PKG -xtype l -exec rm "{}" \;
+
rm -f $PKG/usr/share/icons/*/{AUTHORS,CONTRIBUTORS,LICENSE}
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION