wok annotate screenfetch/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents 8eaf1d9eb640
children 0262035dc1e7
rev   line source
paul@16867 1 # SliTaz package receipt.
paul@16867 2
paul@16867 3 PACKAGE="screenfetch"
Hans-G?nter@25295 4 VERSION="3.9.1"
paul@16867 5 CATEGORY="utilities"
paul@16867 6 SHORT_DESC="Bash screenshot information tool."
paul@16867 7 MAINTAINER="paul@slitaz.org"
pascal@17216 8 LICENSE="GPL3"
Hans-G?nter@25295 9 WEB_SITE="https://github.com/KittyKatt/screenFetch"
Hans-G?nter@25295 10
pascal@24139 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25295 12 WGET_URL="https://github.com/KittyKatt/screenFetch/archive/v$VERSION.tar.gz"
paul@16867 13
paul@16867 14 DEPENDS="bash procps xorg-xdpyinfo"
Hans-G?nter@25295 15 BUILD_DEPENDS=""
paul@16867 16
pascal@24139 17 current_version()
pascal@24139 18 {
pascal@24139 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24139 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24139 21 }
pascal@24139 22
paul@16867 23 # Rules to configure and make the package.
paul@16867 24 compile_rules()
paul@16867 25 {
paul@16867 26 # patch for SliTaz (use basic artwork - job for artwork team?)
Hans-G?nter@25295 27 # patch -i ../../stuff/slitaz.patch replaced by
Hans-G?nter@25295 28 patch -i ../../stuff/patches/screenfetch-dev-$VERSION
paul@16867 29 }
paul@16867 30
paul@16867 31 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16867 32 genpkg_rules()
paul@16867 33 {
paul@16867 34 mkdir -p $fs/usr/bin
Hans-G?nter@25295 35 cp -a $src/screenfetch-dev $fs/usr/bin/screenfetch
paul@16867 36 }