summaryrefslogtreecommitdiffstats
path: root/system/libtrash/libtrash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/libtrash/libtrash.SlackBuild')
-rw-r--r--system/libtrash/libtrash.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/libtrash/libtrash.SlackBuild b/system/libtrash/libtrash.SlackBuild
index d0c7a6e1a8..0990b54eee 100644
--- a/system/libtrash/libtrash.SlackBuild
+++ b/system/libtrash/libtrash.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libtrash
-# Copyright 2020-2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2020-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtrash
-VERSION=${VERSION:-3.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -93,6 +93,9 @@ make install DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Compress man page
+gzip -9 $PKG/usr/man/man2/$PRGNAM.2
+
mv $PKG/etc/libtrash.conf $PKG/etc/libtrash.conf.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \