wok rev 25372

updated trash-cli (0.17.1.14 -> 0.22.4.16)
author Hans-G?nter Theisgen
date Fri Jul 29 14:58:56 2022 +0100 (2022-07-29)
parents a73375793791
children 0456ac2803aa
files trash-cli/description.txt trash-cli/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/trash-cli/description.txt	Fri Jul 29 14:58:56 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Trash-cli trashes files recording the original path, deletion date,
     1.5 +and permissions.
     1.6 +It uses the same trashcan used by KDE, GNOME, and XFCE, but you can
     1.7 +invoke it from the command line (and scripts).
     2.1 --- a/trash-cli/receipt	Fri Jul 29 14:34:07 2022 +0100
     2.2 +++ b/trash-cli/receipt	Fri Jul 29 14:58:56 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="trash-cli"
     2.7 -VERSION="0.17.1.14"
     2.8 +VERSION="0.22.4.16"
     2.9  CATEGORY="utilities"
    2.10  SHORT_DESC="Command line interface to the freedesktop.org trashcan."
    2.11  MAINTAINER="paul@slitaz.org"
    2.12 @@ -11,7 +11,7 @@
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    2.15  
    2.16 -DEPENDS="python"
    2.17 +DEPENDS="python python-psutil"
    2.18  BUILD_DEPENDS="python-dev python-setuptools"
    2.19  
    2.20  current_version()
    2.21 @@ -23,15 +23,13 @@
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25 -	python setup.py build
    2.26 +	python setup.py build &&
    2.27  	python setup.py install --root=$DESTDIR
    2.28  }
    2.29  
    2.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.31  genpkg_rules()
    2.32  {
    2.33 -	mkdir $fs/usr
    2.34 -
    2.35 -	cp -a $install/usr/bin $fs/usr
    2.36 -	cp -a $install/usr/lib $fs/usr
    2.37 +	cook_copy_folders	bin
    2.38 +	cook_copy_folders	lib
    2.39  }