wok-next diff trash-cli/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 6c73b944e8dd |
children |
line diff
1.1 --- a/trash-cli/receipt Mon Feb 26 04:46:49 2018 +0200 1.2 +++ b/trash-cli/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,29 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="trash-cli" 1.8 VERSION="0.12.9.14" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="Command line interface to the freedesktop.org trashcan." 1.11 +SHORT_DESC="Command line interface to the freedesktop.org trashcan" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://github.com/andreafrancia/trash-cli" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="https://github.com/andreafrancia/trash-cli" 1.18 WGET_URL="git|git://github.com/andreafrancia/trash-cli" 1.19 1.20 -DEPENDS="python" 1.21 BUILD_DEPENDS="git bzip2 python-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - python setup.py build 1.27 - python setup.py install --root=$DESTDIR 1.28 +compile_rules() { 1.29 + python -B setup.py build && 1.30 + python -B setup.py install --root=$install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir $fs/usr 1.37 - cp -a $install/usr/bin $fs/usr 1.38 - cp -a $install/usr/lib $fs/usr 1.39 +genpkg_rules() { 1.40 + copy @std 1.41 + DEPENDS="python" 1.42 }