wok annotate adwaita-icon-theme/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 6831608a1b2a
children a66f312c374b
rev   line source
al@19075 1 # SliTaz package receipt.
al@19075 2
al@19075 3 PACKAGE="adwaita-icon-theme"
Hans-G?nter@24318 4 VERSION="41.0"
Hans-G?nter@24318 5 SERIES="${VERSION%%.*}" # first two numbers from version
al@19126 6 CATEGORY="customization"
Hans-G?nter@22472 7 SHORT_DESC="A collection of icons used at the basis for GNOME themes."
al@19075 8 MAINTAINER="al.bobylev@gmail.com"
al@19075 9 LICENSE="LGPL3 CC-BY-SA-3"
al@19075 10 WEB_SITE="https://github.com/GNOME/adwaita-icon-theme"
Hans-G?nter@22472 11
al@19075 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19075 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
al@19075 14
al@19075 15 DEPENDS=""
al@19075 16 BUILD_DEPENDS=""
al@19075 17
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
al@19075 24 # Rules to configure and make the package.
al@19075 25 compile_rules()
al@19075 26 {
Hans-G?nter@22472 27 ./configure \
Hans-G?nter@22472 28 --prefix=/usr \
al@19075 29 $CONFIGURE_ARGS &&
Hans-G?nter@22472 30 make &&
Hans-G?nter@22472 31 make install
al@19075 32 }
al@19075 33
al@19075 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19075 35 genpkg_rules()
al@19075 36 {
Hans-G?nter@24318 37 cp -a $install/* $fs
Hans-G?nter@24318 38 rm -r $fs/usr/share/pkgconfig
al@19075 39 }