# HG changeset patch # User Paul Issott # Date 1402343802 -3600 # Node ID 47c328c464d32dbaa52fbdc3b5a728804087f6d5 # Parent 88f868615836413d95c820937b95a08245885215 Add trash-cli diff -r 88f868615836 -r 47c328c464d3 trash-cli/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trash-cli/receipt Mon Jun 09 20:56:42 2014 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="trash-cli" +VERSION="0.12.9.14" +CATEGORY="utilities" +SHORT_DESC="Command line interface to the freedesktop.org trashcan." +MAINTAINER="paul@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="https://github.com/andreafrancia/trash-cli" +WGET_URL="git|git://github.com/andreafrancia/trash-cli" + +DEPENDS="python" +BUILD_DEPENDS="git bzip2 python-dev setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr +} +