# 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="" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;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 }