aboutsummaryrefslogtreecommitdiff
path: root/system/libtrash/libtrash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/libtrash/libtrash.SlackBuild')
-rw-r--r--system/libtrash/libtrash.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/libtrash/libtrash.SlackBuild b/system/libtrash/libtrash.SlackBuild
index 0990b54eeef0..8b8b9cc33dab 100644
--- a/system/libtrash/libtrash.SlackBuild
+++ b/system/libtrash/libtrash.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtrash
-VERSION=${VERSION:-3.8}
+VERSION=${VERSION:-3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,17 +93,16 @@ make install DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-# Compress man page
gzip -9 $PKG/usr/man/man2/$PRGNAM.2
+gzip -9 $PKG/usr/man/man5/$PRGNAM.conf.5
mv $PKG/etc/libtrash.conf $PKG/etc/libtrash.conf.new
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
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/{AUTHORS,INSTALL}
-cp -a BUILD ChangeLog config.txt COPYING NEWS README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
+# The SlackBuild has already copied all the text files (AUTHORS, Changelog, etc.) to /usr/doc/libtrash-*
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL # Installation file is irrelevant for binary package users
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install