wok-6.x view screenfetch/receipt @ rev 24994

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 15 20:25:22 2022 +0000 (2022-05-15)
parents cc6bbcf323fa
children 6e4600a4fb23
line source
1 # SliTaz package receipt.
3 PACKAGE="screenfetch"
4 VERSION="3.5.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Bash screenshot information tool."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/KittyKatt/screenFetch"
11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="bash procps xorg-xdpyinfo"
14 BUILD_DEPENDS="git bzip2"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # patch for SliTaz (use basic artwork - job for artwork team?)
26 patch -i ../../stuff/slitaz.patch
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/screenfetch-dev $fs/usr/bin/screenfetch
34 }