wok view slitaz-tango-icon/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 9e01bc6321ea
children 3e2a0347b2f1
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-project.org/"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/icons
17 cp -a $src/* $fs/usr/share/icons
18 chown -R root.root $fs
19 }
21 qtfix="usr/share/icons/hicolor/index.theme"
23 post_install()
24 {
25 sed '/Inherits=/s|=.*$|=Tango|' -i "$1/$qtfix"
26 }
28 pre_remove()
29 {
30 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
31 }