wok-current view screenfetch/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (8 weeks ago)
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 }