wok-current view trash-cli/receipt @ rev 16741
Add trash-cli
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Jun 09 20:56:42 2014 +0100 (2014-06-09) |
parents | |
children | cc6bbcf323fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="trash-cli"
4 VERSION="0.12.9.14"
5 CATEGORY="utilities"
6 SHORT_DESC="Command line interface to the freedesktop.org trashcan."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="https://github.com/andreafrancia/trash-cli"
10 WGET_URL="git|git://github.com/andreafrancia/trash-cli"
12 DEPENDS="python"
13 BUILD_DEPENDS="git bzip2 python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }