wok-6.x view mist-icon-theme/receipt @ rev 19701

Up: slitaz-tools and slitaz-configs
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 14 12:11:41 2017 +0100 (2017-02-14)
parents 9e01bc6321ea
children 77ec99338524
line source
1 # SliTaz package receipt.
3 PACKAGE="mist-icon-theme"
4 VERSION="1-X"
5 CATEGORY="customization"
6 SHORT_DESC="Classic light-blue variation of the GNOME icon theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="http://xfce-look.org/content/show.php/Mist?content=148172"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://dl.dropbox.com/u/64670113/Mist.tar.bz2"
13 DEPENDS="gnome-icon-theme"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 iconpath=usr/share/icons/mist
20 mkdir -p $fs/$iconpath
21 cp -a $src/* $fs/$iconpath
22 rm -rf $fs/$iconpath/256x256
23 }
25 qtfix="usr/share/icons/hicolor/index.theme"
27 post_install()
28 {
29 sed '/Inherits=/s|=.*$|=mist|' -i "$1/$qtfix"
30 }
32 pre_remove()
33 {
34 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
35 }