wok-current view screenfetch/receipt @ rev 24591

updated genext2fs (1.4.1 -> 1.5.0)
author Hans-G?nter Theisgen
date Mon Feb 28 17:48:46 2022 +0100 (2022-02-28)
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 }