wok-current annotate slitaz-tango-icon/receipt @ rev 18262
Add pflogsumm (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 05 12:08:19 2015 +0200 (2015-08-05) |
parents | eb8067417980 |
children | 9e01bc6321ea |
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" |
pankso@16 | 10 WEB_SITE="http://tango.freedesktop.org/" |
pankso@16 | 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL" |
pankso@16 | 12 |
pankso@16 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16 | 14 genpkg_rules() |
pankso@16 | 15 { |
pankso@16 | 16 mkdir -p $fs/usr/share/icons |
pankso@16 | 17 cp -a $src/* $fs/usr/share/icons |
pankso@16 | 18 chown -R root.root $fs |
pankso@16 | 19 } |
pankso@16 | 20 |
psychomaniak@17231 | 21 qtfix="usr/share/icons/hicolor/index.theme" |
psychomaniak@17231 | 22 |
psychomaniak@17231 | 23 post_install() |
psychomaniak@17231 | 24 { |
psychomaniak@17231 | 25 sed '/Inherits=/s|=.*$|=Tango|' -i $1/$qtfix |
psychomaniak@17231 | 26 } |
psychomaniak@17231 | 27 |
psychomaniak@17231 | 28 pre_remove() |
psychomaniak@17231 | 29 { |
psychomaniak@17231 | 30 sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix |
psychomaniak@17231 | 31 } |