# SliTaz package receipt. PACKAGE="slitaz-backgrounds" VERSION="2.1" CATEGORY="x-window" SHORT_DESC="Additional backgrounds for Slitaz GNU/Linux." MAINTAINER="hackdorte@sapo.pt" LICENSE="PublicDomain" WEB_SITE="https://github.com/SliTaz-official/hackdorte-artwork" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://people.slitaz.org/~leonardolaporte/lab.slitaz/5.0/src/$TARBALL" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { mkdir -p $install/usr/share/images cp -a $src/* $install/usr/share/images } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs } post_install() { rm -irf $1/usr/share/images/README.md }