system/libtrash: Update for 3.9
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fbb069208a
commit
7b351925bd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue