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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 40fab26c175d
children 5ffe59e2de3a
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@21020 10
al@14427 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14427 12 WGET_URL="https://dl.dropbox.com/u/64670113/Mist.tar.bz2"
al@14427 13
al@21020 14 genpkg_rules() {
al@14427 15 iconpath=usr/share/icons/mist
al@14427 16 mkdir -p $fs/$iconpath
al@14427 17 cp -a $src/* $fs/$iconpath
al@14427 18 rm -rf $fs/$iconpath/256x256
al@21020 19 DEPENDS="gnome-icon-theme"
al@14427 20 }
psychomaniak@17231 21
psychomaniak@17231 22 qtfix="usr/share/icons/hicolor/index.theme"
psychomaniak@17231 23
al@21020 24 post_install() {
pascal@18730 25 sed '/Inherits=/s|=.*$|=mist|' -i "$1/$qtfix"
psychomaniak@17231 26 }
psychomaniak@17231 27
al@21020 28 pre_remove() {
pascal@18730 29 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
psychomaniak@17231 30 }