# SliTaz package receipt. PACKAGE="adwaita-icon-theme" VERSION="41.0" SERIES="${VERSION%%.*}" # first two numbers from version CATEGORY="customization" SHORT_DESC="A collection of icons used at the basis for GNOME themes." MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL3 CC-BY-SA-3" WEB_SITE="https://github.com/GNOME/adwaita-icon-theme" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL" DEPENDS="" BUILD_DEPENDS="" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs rm -r $fs/usr/share/pkgconfig }