wok-6.x annotate slitaz-tango-icon/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
parents 3e2a0347b2f1
children
rev   line source
pankso@16 1 # SliTaz package receipt.
pankso@16 2
pankso@16 3 PACKAGE="slitaz-tango-icon"
pankso@2750 4 VERSION="1.7"
pankso@211 5 CATEGORY="misc"
pankso@651 6 SHORT_DESC="Tango icons unofficial in size 16x16 and 32x32 (minimum)."
pankso@16 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL3"
pankso@16 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24894 10 WEB_SITE="http://tango.freedesktop.org/Tango_Icon_Library"
pankso@16 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
pankso@16 12
pascal@24074 13 current_version()
pascal@24074 14 {
pascal@24074 15 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24074 16 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24074 17 }
pascal@24074 18
pankso@16 19 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16 20 genpkg_rules()
pankso@16 21 {
pankso@16 22 mkdir -p $fs/usr/share/icons
pankso@16 23 cp -a $src/* $fs/usr/share/icons
pankso@16 24 chown -R root.root $fs
pankso@16 25 }
pankso@16 26
psychomaniak@17231 27 qtfix="usr/share/icons/hicolor/index.theme"
psychomaniak@17231 28
psychomaniak@17231 29 post_install()
psychomaniak@17231 30 {
pascal@18730 31 sed '/Inherits=/s|=.*$|=Tango|' -i "$1/$qtfix"
psychomaniak@17231 32 }
psychomaniak@17231 33
psychomaniak@17231 34 pre_remove()
psychomaniak@17231 35 {
pascal@18730 36 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
psychomaniak@17231 37 }