wok-current view mist-icon-theme/receipt @ rev 25113

Use https://download.tuxfamily.org/ for some broken wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 14:36:45 2022 +0000 (2022-06-25)
parents 40fab26c175d
children 73f36875e5a7
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="http://xfce-look.org/content/show.php/Mist?content=148172"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
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 }