wok annotate slitaz-tango-icon/receipt @ rev 19750
compiz-plugins-unsupported, xfmedia: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 19:08:46 2017 +0100 (2017-02-18) |
parents | 92f6d4a38df0 |
children | 15e8d94fc34f |
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 { |
pascal@18730 | 25 sed '/Inherits=/s|=.*$|=Tango|' -i "$1/$qtfix" |
psychomaniak@17231 | 26 } |
psychomaniak@17231 | 27 |
psychomaniak@17231 | 28 pre_remove() |
psychomaniak@17231 | 29 { |
pascal@18730 | 30 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix" |
psychomaniak@17231 | 31 } |