wok diff screenfetch/receipt @ rev 24976
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 06 11:04:25 2022 +0000 (2022-05-06) |
parents | cc6bbcf323fa |
children | 6e4600a4fb23 |
line diff
1.1 --- a/screenfetch/receipt Sat Oct 11 14:25:56 2014 +0200 1.2 +++ b/screenfetch/receipt Fri May 06 11:04:25 2022 +0000 1.3 @@ -6,17 +6,22 @@ 1.4 SHORT_DESC="Bash screenshot information tool." 1.5 MAINTAINER="paul@slitaz.org" 1.6 LICENSE="GPL3" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="https://github.com/KittyKatt/screenFetch" 1.10 -WGET_URL="git|git://github.com/KittyKatt/screenFetch" 1.11 +WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz" 1.12 1.13 DEPENDS="bash procps xorg-xdpyinfo" 1.14 BUILD_DEPENDS="git bzip2" 1.15 1.16 +current_version() 1.17 +{ 1.18 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.19 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.20 +} 1.21 + 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $src 1.26 # patch for SliTaz (use basic artwork - job for artwork team?) 1.27 patch -i ../../stuff/slitaz.patch 1.28 }