wok view slitaz-tango-icon/receipt @ rev 25043
lxpanel: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 16:50:09 2022 +0000 (2022-06-01) |
parents | 3e2a0347b2f1 |
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="http://tango.freedesktop.org/Tango_Icon_Library"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
13 current_version()
14 {
15 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
16 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/share/icons
23 cp -a $src/* $fs/usr/share/icons
24 chown -R root.root $fs
25 }
27 qtfix="usr/share/icons/hicolor/index.theme"
29 post_install()
30 {
31 sed '/Inherits=/s|=.*$|=Tango|' -i "$1/$qtfix"
32 }
34 pre_remove()
35 {
36 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
37 }