wok annotate slitaz-tango-icon/receipt @ rev 23916
updated nnn (3.3 -> 3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 19 08:03:17 2020 +0100 (2020-08-19) |
parents | 9e01bc6321ea |
children | 3e2a0347b2f1 |
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" |
pascal@21342 | 10 WEB_SITE="http://tango-project.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 } |