wok view screenfetch/receipt @ rev 25503

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