summaryrefslogtreecommitdiffstats
path: root/desktop/emerald/emerald.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/emerald/emerald.SlackBuild')
-rw-r--r--desktop/emerald/emerald.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/desktop/emerald/emerald.SlackBuild b/desktop/emerald/emerald.SlackBuild
index 797c6e0ddb..a663b34bdc 100644
--- a/desktop/emerald/emerald.SlackBuild
+++ b/desktop/emerald/emerald.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for emerald
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=emerald
-VERSION=${VERSION:-0.8.14}
+VERSION=${VERSION:-0.8.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +79,9 @@ 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 {} \;
+# make emerald-theme-manager compatible with newer versions of tar
+patch -p1 < $CWD/tar_ordering_fix.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -95,6 +98,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+find $PKG -type f -iname '*.la' -exec rm -rf {} \+
+
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