system/libtrash: Update for 3.8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7d30a7b04e
commit
2b90fb9cb4
|
@ -3,4 +3,4 @@ trash can under GNU/Linux.
|
||||||
|
|
||||||
For instance, with libtrash, Midnight Commander will move files
|
For instance, with libtrash, Midnight Commander will move files
|
||||||
to the trash directory:
|
to the trash directory:
|
||||||
LD_PRELOAD=/usr/lib/libtrash.so.3.7 mc
|
LD_PRELOAD=/usr/lib/libtrash.so.3.8 mc
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for libtrash
|
# Slackware build script for libtrash
|
||||||
|
|
||||||
# Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com>
|
# Copyright 2020-2024 Isaac Yu <isaacyu@protonmail.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,8 +25,8 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=libtrash
|
PRGNAM=libtrash
|
||||||
VERSION=${VERSION:-3.7}
|
VERSION=${VERSION:-3.8}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tgz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
@ -93,6 +93,9 @@ make install DESTDIR=$PKG
|
||||||
|
|
||||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
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
|
mv $PKG/etc/libtrash.conf $PKG/etc/libtrash.conf.new
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libtrash"
|
PRGNAM="libtrash"
|
||||||
VERSION="3.7"
|
VERSION="3.8"
|
||||||
HOMEPAGE="http://pages.stern.nyu.edu/~marriaga/software/libtrash/"
|
HOMEPAGE="https://github.com/pete4abw/libtrash"
|
||||||
DOWNLOAD="https://slackware.uk/~urchlay/src/libtrash-3.7.tgz"
|
DOWNLOAD="https://github.com/pete4abw/libtrash/archive/v3.8/libtrash-3.8.tar.gz"
|
||||||
MD5SUM="7eeda8187327588ad32bbcb80f33e796"
|
MD5SUM="c0e6ad84375fffc5f5eacf0028b28d7e"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue