wok annotate faenza-icon-theme/receipt @ rev 19834

hatari: add -ltinfo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 11 06:10:22 2017 +0200 (2017-03-11)
parents 2282cb3628dd
children 43b795dec9b1
rev   line source
al@13649 1 # SliTaz package receipt.
al@13649 2
al@13649 3 PACKAGE="faenza-icon-theme"
al@13649 4 VERSION="1.3"
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 TARBALL="${PACKAGE}_$VERSION.zip"
al@13649 10 WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
al@13649 11 WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL"
pascal@19093 12 HOST_ARCH="any"
al@13649 13
pascal@14999 14 DEPENDS=""
pascal@14999 15
al@17951 16 # Rules to configure and make the package.
al@17951 17 compile_rules()
al@13649 18 {
al@17951 19 mkdir -p $install/usr/share/icons
al@17951 20 cd $install/usr/share/icons
al@13649 21 tar xf $src/Faenza.tar.gz
al@13649 22 tar xf $src/Faenza-Dark.tar.gz
al@13649 23 tar xf $src/Faenza-Darkest.tar.gz
al@13649 24 tar xf $src/Faenza-Darker.tar.gz
al@17951 25 }
al@17951 26
al@17951 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17951 28 genpkg_rules()
al@17951 29 {
al@17951 30 cp -a $install/* $fs
al@13649 31 # remove big sizes and scalable
al@18589 32 rm -rf $(find $fs -type d -regex '.*/\(64\|96\|scalable\)')
al@13649 33 # remove emblems and extras
al@18589 34 rm -rf $(find $fs -type d -regex '.*/\(emblems\|extras\)')
al@17951 35 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
al@13649 36
al@13649 37 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
al@13649 38 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
al@13649 39 done
al@13649 40 }
al@13649 41
al@18586 42 qtfix='/usr/share/icons/hicolor/index.theme'
psychomaniak@17231 43
psychomaniak@17231 44 post_install()
psychomaniak@17231 45 {
al@18586 46 [ -s "$1$qtfix" ] &&
al@18586 47 sed '/Inherits=/s|=.*$|=Faenza|' -i "$1$qtfix"
al@18586 48 :
psychomaniak@17231 49 }
psychomaniak@17231 50
psychomaniak@17231 51 pre_remove()
psychomaniak@17231 52 {
al@18586 53 [ -s "$1$qtfix" ] &&
al@18586 54 sed '/Inherits=/s|=.*$|=SliTaz-Faenza|' -i "$1$qtfix"
al@18586 55 :
psychomaniak@17231 56 }