wok annotate screenfetch/receipt @ rev 25633

wbar: remove imlib2-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 10:30:04 2023 +0000 (6 months ago)
parents 6e4600a4fb23
children
rev   line source
paul@16867 1 # SliTaz package receipt.
paul@16867 2
paul@16867 3 PACKAGE="screenfetch"
Hans-G?nter@25295 4 VERSION="3.9.1"
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"
Hans-G?nter@25295 9 WEB_SITE="https://github.com/KittyKatt/screenFetch"
Hans-G?nter@25295 10
pascal@24139 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25295 12 WGET_URL="https://github.com/KittyKatt/screenFetch/archive/v$VERSION.tar.gz"
paul@16867 13
paul@16867 14 DEPENDS="bash procps xorg-xdpyinfo"
Hans-G?nter@25295 15 BUILD_DEPENDS=""
paul@16867 16
pascal@25601 17 # What is the latest version available today?
pascal@24139 18 current_version()
pascal@24139 19 {
pascal@24139 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24139 22 }
pascal@24139 23
paul@16867 24 # Rules to configure and make the package.
paul@16867 25 compile_rules()
paul@16867 26 {
paul@16867 27 # patch for SliTaz (use basic artwork - job for artwork team?)
Hans-G?nter@25295 28 # patch -i ../../stuff/slitaz.patch replaced by
Hans-G?nter@25295 29 patch -i ../../stuff/patches/screenfetch-dev-$VERSION
paul@16867 30 }
paul@16867 31
paul@16867 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16867 33 genpkg_rules()
paul@16867 34 {
paul@16867 35 mkdir -p $fs/usr/bin
Hans-G?nter@25295 36 cp -a $src/screenfetch-dev $fs/usr/bin/screenfetch
paul@16867 37 }