wok annotate duviz/receipt @ rev 25361
sshrc: typo in wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 27 16:25:20 2022 +0000 (2022-07-27) |
parents | 5ea0ce1cecc0 |
children | fe1b5660fdd1 |
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@24299 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).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 } |