wok-next view mist-icon-theme/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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="https://www.xfce-look.org/content/show.php/Mist?content=148172"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://dl.dropbox.com/u/64670113/Mist.tar.bz2"
14 genpkg_rules() {
15 iconpath=usr/share/icons/mist
16 mkdir -p $fs/$iconpath
17 cp -a $src/* $fs/$iconpath
18 rm -rf $fs/$iconpath/256x256
19 DEPENDS="gnome-icon-theme"
20 }
22 qtfix="usr/share/icons/hicolor/index.theme"
24 post_install() {
25 sed '/Inherits=/s|=.*$|=mist|' -i "$1/$qtfix"
26 }
28 pre_remove() {
29 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
30 }