wok view duviz/receipt @ rev 25686
Use System category for pm-suspend entry
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Apr 06 12:03:22 2024 +0200 (7 months ago) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="duviz"
4 VERSION="1.1.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Disk space usage visualization utility."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/soxofaan/duviz/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/duviz.py $fs/usr/bin/duviz
29 }