wok-current annotate screenfetch/receipt @ rev 24642

updated hfsprescue (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Mar 09 17:03:53 2022 +0100 (2022-03-09)
parents cc6bbcf323fa
children 6e4600a4fb23
rev   line source
paul@16867 1 # SliTaz package receipt.
paul@16867 2
paul@16867 3 PACKAGE="screenfetch"
paul@16867 4 VERSION="3.5.0"
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"
pascal@24139 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@16867 10 WEB_SITE="https://github.com/KittyKatt/screenFetch"
pascal@24139 11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
paul@16867 12
paul@16867 13 DEPENDS="bash procps xorg-xdpyinfo"
paul@16867 14 BUILD_DEPENDS="git bzip2"
paul@16867 15
pascal@24139 16 current_version()
pascal@24139 17 {
pascal@24139 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24139 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24139 20 }
pascal@24139 21
paul@16867 22 # Rules to configure and make the package.
paul@16867 23 compile_rules()
paul@16867 24 {
paul@16867 25 # patch for SliTaz (use basic artwork - job for artwork team?)
paul@16867 26 patch -i ../../stuff/slitaz.patch
paul@16867 27 }
paul@16867 28
paul@16867 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16867 30 genpkg_rules()
paul@16867 31 {
paul@16867 32 mkdir -p $fs/usr/bin
paul@16867 33 cp -a $src/screenfetch-dev $fs/usr/bin/screenfetch
paul@16867 34 }
paul@16867 35