wok view slitaz-tango-icon/receipt @ rev 25842
remove web-tweetdeck
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 15 11:37:45 2025 +0000 (4 weeks ago) |
parents | e309f13b7b70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tango-icon"
4 VERSION="1.7"
5 CATEGORY="misc"
6 SHORT_DESC="Tango icons unofficial in size 16x16 and 32x32 (minimum)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20231127172602/http://tango.freedesktop.org/Tango_Icon_Library"
11 WGET_URL="https://distro.ibiblio.org/slitaz/sources/artwok/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
17 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/icons
24 cp -a $src/* $fs/usr/share/icons
25 chown -R root.root $fs
26 }
28 qtfix="usr/share/icons/hicolor/index.theme"
30 post_install()
31 {
32 sed '/Inherits=/s|=.*$|=Tango|' -i "$1/$qtfix"
33 }
35 pre_remove()
36 {
37 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
38 }