wok-next view slitaz-tango-icon/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | d5aab818505e |
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://tango.freedesktop.org/Tango_Desktop_Project"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
15 genpkg_rules() {
16 mkdir -p $fs/usr/share/icons
17 cp -a $src/* $fs/usr/share/icons
18 chown -R root.root $fs
19 }
21 post_install() {
22 qtfix="usr/share/icons/hicolor/index.theme"
23 sed '/Inherits=/s|=.*$|=Tango|' -i "$1/$qtfix"
24 }
26 pre_remove() {
27 qtfix="usr/share/icons/hicolor/index.theme"
28 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
29 }