wok view mist-icon-theme/receipt @ rev 18596
libsdl: fix post_install() status
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 13 17:31:47 2015 +0200 (2015-11-13) |
parents | 3e624caa6f01 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="mist-icon-theme"
4 VERSION="1-X"
5 CATEGORY="x-window"
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 }