wok-6.x annotate trash-cli/receipt @ rev 25543
linux-cloop: update cloop.u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 11 12:33:53 2023 +0000 (18 months ago) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
paul@16741 | 1 # SliTaz package receipt. |
paul@16741 | 2 |
paul@16741 | 3 PACKAGE="trash-cli" |
Hans-G?nter@25372 | 4 VERSION="0.22.4.16" |
paul@16741 | 5 CATEGORY="utilities" |
paul@16741 | 6 SHORT_DESC="Command line interface to the freedesktop.org trashcan." |
paul@16741 | 7 MAINTAINER="paul@slitaz.org" |
pascal@17216 | 8 LICENSE="GPL2" |
paul@16741 | 9 WEB_SITE="https://github.com/andreafrancia/trash-cli" |
Hans-G?nter@22050 | 10 |
Hans-G?nter@22050 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22050 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
paul@16741 | 13 |
Hans-G?nter@25372 | 14 DEPENDS="python python-psutil" |
Hans-G?nter@22050 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
paul@16741 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@16741 | 23 # Rules to configure and make the package. |
paul@16741 | 24 compile_rules() |
paul@16741 | 25 { |
Hans-G?nter@25372 | 26 python setup.py build && |
paul@16741 | 27 python setup.py install --root=$DESTDIR |
paul@16741 | 28 } |
paul@16741 | 29 |
paul@16741 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16741 | 31 genpkg_rules() |
paul@16741 | 32 { |
Hans-G?nter@25372 | 33 cook_copy_folders bin |
Hans-G?nter@25372 | 34 cook_copy_folders lib |
paul@16741 | 35 } |