wok-next annotate mist-icon-theme/receipt @ rev 18622

Up libcaca (0.99.beta19)
author Paul Issott <paul@slitaz.org>
date Sun Nov 22 10:03:23 2015 +0000 (2015-11-22)
parents 3e624caa6f01
children 9e01bc6321ea
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@14427 5 CATEGORY="x-window"
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 {
psychomaniak@17231 29 sed '/Inherits=/s|=.*$|=mist|' -i $1/$qtfix
psychomaniak@17231 30 }
psychomaniak@17231 31
psychomaniak@17231 32 pre_remove()
psychomaniak@17231 33 {
psychomaniak@17231 34 sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix
psychomaniak@17231 35 }