aboutsummaryrefslogtreecommitdiff
path: root/system/libtrash
diff options
context:
space:
mode:
Diffstat (limited to 'system/libtrash')
-rw-r--r--system/libtrash/README2
-rw-r--r--system/libtrash/libtrash.SlackBuild9
-rw-r--r--system/libtrash/libtrash.info6
3 files changed, 8 insertions, 9 deletions
diff --git a/system/libtrash/README b/system/libtrash/README
index c3855a5825b0..05a9ee5c1723 100644
--- a/system/libtrash/README
+++ b/system/libtrash/README
@@ -3,4 +3,4 @@ trash can under GNU/Linux.
For instance, with libtrash, Midnight Commander will move files
to the trash directory:
-LD_PRELOAD=/usr/lib/libtrash.so.3.8 mc
+LD_PRELOAD=/usr/lib/libtrash.so.3.9 mc
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
diff --git a/system/libtrash/libtrash.info b/system/libtrash/libtrash.info
index c0e0dce67121..4a7730cd70d3 100644
--- a/system/libtrash/libtrash.info
+++ b/system/libtrash/libtrash.info
@@ -1,8 +1,8 @@
PRGNAM="libtrash"
-VERSION="3.8"
+VERSION="3.9"
HOMEPAGE="https://github.com/pete4abw/libtrash"
-DOWNLOAD="https://github.com/pete4abw/libtrash/archive/v3.8/libtrash-3.8.tar.gz"
-MD5SUM="c0e6ad84375fffc5f5eacf0028b28d7e"
+DOWNLOAD="https://github.com/pete4abw/libtrash/archive/v3.9/libtrash-3.9.tar.gz"
+MD5SUM="4c071df11bd77e66836d0572477fea5e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""