wok-next diff slim-theme-cat/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | 0a411c8beacd |
children | e7e7475e84c9 |
line diff
1.1 --- a/slim-theme-cat/receipt Thu Jun 02 02:41:24 2016 +0300 1.2 +++ b/slim-theme-cat/receipt Fri Mar 23 15:16:45 2018 +0200 1.3 @@ -1,42 +1,35 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="slim-theme-cat" 1.8 -VERSION="20130524" 1.9 +VERSION="20180107" 1.10 CATEGORY="customization" 1.11 SHORT_DESC="Cat and Spider - theme for SLiM" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="CC-BY" 1.14 WEB_SITE="http://www.slitaz.org/" 1.15 1.16 -DEPENDS="slim slitaz-configs-base" 1.17 -BUILD_DEPENDS="inkscape optipng" 1.18 +BUILD_DEPENDS="rsvg-convert" 1.19 +COOKOPTS="!pngquant" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 - mkdir -p $install 1.25 - inkscape -f $stuff/cat_and_spider.svg -e $install/panel.png 1.26 - optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png 1.27 +compile_rules() { 1.28 + theme="$install/usr/share/slim/themes/cat_and_spider" 1.29 + mkdir -p $theme 1.30 + 1.31 + # convert vector art to bitmap 1.32 + rsvg-convert $stuff/cat_and_spider.svg -o $theme/panel.png 1.33 + 1.34 + cp $stuff/slim.theme $stuff/background.jpg $theme 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - theme=$fs/usr/share/slim/themes/cat_and_spider 1.41 - mkdir -p $theme 1.42 - # link SLiM background to SliTaz desktop background; 1.43 - # system is almost here... 1.44 - cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg 1.45 - cp -a $install/panel.png $theme 1.46 - cp -a $stuff/slim.theme $theme 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="slim slitaz-configs-base" 1.50 } 1.51 1.52 -post_install() 1.53 -{ 1.54 +post_install() { 1.55 chroot "$1/" slim-theme -s cat_and_spider 1.56 } 1.57 1.58 -pre_remove() 1.59 -{ 1.60 +pre_remove() { 1.61 chroot "$1/" slim-theme -fcat_and_spider 1.62 }