wok-current view mist-icon-theme/receipt @ rev 23806

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
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 }