wok annotate mist-icon-theme/receipt @ rev 25759
ristretto: added mkdir command
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 01 14:55:10 2024 +0100 (7 weeks ago) |
parents | d66160614dc4 |
children |
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" |
pascal@25540 | 9 WEB_SITE="https://xfce-look.org/content/show.php/Mist?content=148172" |
al@14427 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25113 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
al@14427 | 12 |
al@14427 | 13 DEPENDS="gnome-icon-theme" |
al@14427 | 14 BUILD_DEPENDS="wget" |
al@14427 | 15 |
pascal@25581 | 16 # What is the latest version available today? |
pascal@25581 | 17 current_version() |
pascal@25581 | 18 { |
pascal@25581 | 19 wget -O - https://github.com/lapo/mist-icon-theme/commits/master 2>/dev/null | \ |
pascal@25674 | 20 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q' |
pascal@25581 | 21 } |
pascal@25581 | 22 |
al@14427 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14427 | 24 genpkg_rules() |
al@14427 | 25 { |
al@14427 | 26 iconpath=usr/share/icons/mist |
al@14427 | 27 mkdir -p $fs/$iconpath |
al@14427 | 28 cp -a $src/* $fs/$iconpath |
al@14427 | 29 rm -rf $fs/$iconpath/256x256 |
al@14427 | 30 } |
psychomaniak@17231 | 31 |
psychomaniak@17231 | 32 qtfix="usr/share/icons/hicolor/index.theme" |
psychomaniak@17231 | 33 |
pascal@25581 | 34 # Pre and post install commands for Tazpkg. |
psychomaniak@17231 | 35 post_install() |
psychomaniak@17231 | 36 { |
pascal@18730 | 37 sed '/Inherits=/s|=.*$|=mist|' -i "$1/$qtfix" |
psychomaniak@17231 | 38 } |
psychomaniak@17231 | 39 |
psychomaniak@17231 | 40 pre_remove() |
psychomaniak@17231 | 41 { |
pascal@18730 | 42 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix" |
psychomaniak@17231 | 43 } |