wok annotate mist-icon-theme/receipt @ rev 19951
azdrawing: fix ressource path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 08 12:16:55 2017 +0200 (2017-05-08) |
parents | 9e01bc6321ea |
children | 77ec99338524 |
rev | line source |
---|---|
al@14427 | 1 # SliTaz package receipt. |
al@14427 | 2 |
al@14427 | 3 PACKAGE="mist-icon-theme" |
al@14427 | 4 VERSION="1-X" |
al@19126 | 5 CATEGORY="customization" |
al@14427 | 6 SHORT_DESC="Classic light-blue variation of the GNOME icon theme" |
al@14427 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14427 | 8 LICENSE="LGPL" |
al@14427 | 9 WEB_SITE="http://xfce-look.org/content/show.php/Mist?content=148172" |
al@14427 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14427 | 11 WGET_URL="https://dl.dropbox.com/u/64670113/Mist.tar.bz2" |
al@14427 | 12 |
al@14427 | 13 DEPENDS="gnome-icon-theme" |
al@14427 | 14 BUILD_DEPENDS="wget" |
al@14427 | 15 |
al@14427 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14427 | 17 genpkg_rules() |
al@14427 | 18 { |
al@14427 | 19 iconpath=usr/share/icons/mist |
al@14427 | 20 mkdir -p $fs/$iconpath |
al@14427 | 21 cp -a $src/* $fs/$iconpath |
al@14427 | 22 rm -rf $fs/$iconpath/256x256 |
al@14427 | 23 } |
psychomaniak@17231 | 24 |
psychomaniak@17231 | 25 qtfix="usr/share/icons/hicolor/index.theme" |
psychomaniak@17231 | 26 |
psychomaniak@17231 | 27 post_install() |
psychomaniak@17231 | 28 { |
pascal@18730 | 29 sed '/Inherits=/s|=.*$|=mist|' -i "$1/$qtfix" |
psychomaniak@17231 | 30 } |
psychomaniak@17231 | 31 |
psychomaniak@17231 | 32 pre_remove() |
psychomaniak@17231 | 33 { |
pascal@18730 | 34 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix" |
psychomaniak@17231 | 35 } |