aboutsummaryrefslogtreecommitdiff
path: root/system/trash-cli
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-04-19 15:16:46 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-24 01:47:20 +0700
commit5a97d9bbec5216079f2632de4d28166008e8914f (patch)
treecaee62addd16e2a93b7edca006e6a41702b8bedc /system/trash-cli
parentf37e944fa8def9a2209117cd7c22ee43ce76174c (diff)
system/trash-cli: Update for 0.22.4.16 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/trash-cli')
-rw-r--r--system/trash-cli/trash-cli.SlackBuild12
-rw-r--r--system/trash-cli/trash-cli.info10
2 files changed, 11 insertions, 11 deletions
diff --git a/system/trash-cli/trash-cli.SlackBuild b/system/trash-cli/trash-cli.SlackBuild
index 28433640d160..bfe3db8a41ab 100644
--- a/system/trash-cli/trash-cli.SlackBuild
+++ b/system/trash-cli/trash-cli.SlackBuild
@@ -4,6 +4,7 @@
#
# Copyright 2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2017 Donald Cooley South Haven, IN USA
+# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=trash-cli
-VERSION=${VERSION:-0.17.1.14}
+VERSION=${VERSION:-0.22.4.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,15 +82,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+# Fix man path
+sed 's|share/man/|man/|' -i setup.py
+
+python3 setup.py install --root=$PKG
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 $PKG/usr/man
-mv $PKG/usr/share/man/ $PKG/usr/
-rmdir $PKG/usr/share
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/trash-cli/trash-cli.info b/system/trash-cli/trash-cli.info
index 4e107d9bb47b..ae8f51db8375 100644
--- a/system/trash-cli/trash-cli.info
+++ b/system/trash-cli/trash-cli.info
@@ -1,10 +1,10 @@
PRGNAM="trash-cli"
-VERSION="0.17.1.14"
+VERSION="0.22.4.16"
HOMEPAGE="https://github.com/andreafrancia/trash-cli"
-DOWNLOAD="https://github.com/andreafrancia/trash-cli/archive/0.17.1.14/trash-cli-0.17.1.14.tar.gz"
-MD5SUM="75ccadb291fdef88cd7175d609fc6409"
+DOWNLOAD="https://github.com/andreafrancia/trash-cli/archive/0.22.4.16/trash-cli-0.22.4.16.tar.gz"
+MD5SUM="4647bea15daf5aafb0ccafc67bdbfbb9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu1@isaacyu1.com"