wok annotate duviz/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 0e882acbc556 |
children | ac8ca9758df1 |
rev | line source |
---|---|
paul@17756 | 1 # SliTaz package receipt. |
paul@17756 | 2 |
paul@17756 | 3 PACKAGE="duviz" |
Hans-G?nter@22664 | 4 VERSION="1.1.1" |
paul@17756 | 5 CATEGORY="utilities" |
paul@17756 | 6 SHORT_DESC="Disk space usage visualization utility." |
paul@17756 | 7 MAINTAINER="paul@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL3" |
Hans-G?nter@22664 | 9 WEB_SITE="https://github.com/soxofaan/duviz/" |
Hans-G?nter@22664 | 10 |
Hans-G?nter@22664 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22664 | 12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz" |
paul@17756 | 13 |
paul@17756 | 14 DEPENDS="python" |
Hans-G?nter@22664 | 15 BUILD_DEPENDS="" |
paul@17756 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@17756 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17756 | 24 genpkg_rules() |
paul@17756 | 25 { |
paul@17756 | 26 mkdir -p $fs/usr/bin |
Hans-G?nter@22664 | 27 cp -a $src/duviz.py $fs/usr/bin/duviz |
paul@17756 | 28 } |