SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "screenfetch"

# SliTaz package receipt.

PACKAGE="screenfetch"
VERSION="3.9.1"
CATEGORY="utilities"
SHORT_DESC="Bash screenshot information tool."
MAINTAINER="paul@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://github.com/KittyKatt/screenFetch"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/KittyKatt/screenFetch/archive/v$VERSION.tar.gz"

DEPENDS="bash procps xorg-xdpyinfo"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    # patch for SliTaz (use basic artwork - job for artwork team?)
#    patch -i ../../stuff/slitaz.patch    replaced by
    patch -i ../../stuff/patches/screenfetch-dev-$VERSION
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/screenfetch-dev    $fs/usr/bin/screenfetch
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)