wok-next annotate faenza-icon-theme/receipt @ rev 19808
Up lua (5.3.4), luafilesystem (1.6.3)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 15 14:17:09 2017 +0300 (2017-07-15) |
parents | e49a74e005e1 |
children | 802ae6f847e2 |
rev | line source |
---|---|
al@13649 | 1 # SliTaz package receipt. |
al@13649 | 2 |
al@13649 | 3 PACKAGE="faenza-icon-theme" |
al@19616 | 4 VERSION="1.3.1" |
al@19126 | 5 CATEGORY="customization" |
al@13649 | 6 SHORT_DESC="Faenza icon theme" |
al@13649 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
al@13649 | 9 WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228" |
pascal@19093 | 10 HOST_ARCH="any" |
al@13649 | 11 |
al@19616 | 12 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
al@19616 | 13 WGET_URL="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$PACKAGE/$TARBALL" |
pascal@14999 | 14 |
al@17951 | 15 # Rules to configure and make the package. |
al@17951 | 16 compile_rules() |
al@13649 | 17 { |
al@17951 | 18 mkdir -p $install/usr/share/icons |
al@19616 | 19 cp -a Faenza* $install/usr/share/icons |
al@17951 | 20 } |
al@17951 | 21 |
al@17951 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17951 | 23 genpkg_rules() |
al@17951 | 24 { |
al@17951 | 25 cp -a $install/* $fs |
al@13649 | 26 # remove big sizes and scalable |
al@18589 | 27 rm -rf $(find $fs -type d -regex '.*/\(64\|96\|scalable\)') |
al@19616 | 28 # remove extras |
al@19616 | 29 rm -rf $(find $fs -type d -regex '.*/extras') |
al@17951 | 30 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme |
al@13649 | 31 |
al@13649 | 32 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do |
al@13649 | 33 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme |
al@13649 | 34 done |
al@13649 | 35 } |