wok-6.x view screenfetch/receipt @ rev 25377
updated udpxy (1.0.24.1 -> 1.0.25.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 11:20:37 2022 +0100 (2022-07-30) |
parents | 8eaf1d9eb640 |
children |
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 }