diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/trash-cli/trash-cli.SlackBuild | 12 | ||||
-rw-r--r-- | system/trash-cli/trash-cli.info | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/system/trash-cli/trash-cli.SlackBuild b/system/trash-cli/trash-cli.SlackBuild index 28433640d1..bfe3db8a41 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 4e107d9bb4..ae8f51db83 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" |