wok-next diff slim-theme-leaves/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 0a411c8beacd |
children |
line diff
1.1 --- a/slim-theme-leaves/receipt Thu Jun 02 02:41:24 2016 +0300 1.2 +++ b/slim-theme-leaves/receipt Wed Jun 06 20:44:57 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="slim-theme-leaves" 1.8 VERSION="20150602" 1.9 @@ -6,39 +6,29 @@ 1.10 SHORT_DESC="Leaves - theme for SLiM" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="PublicDomain" 1.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download" 1.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download" # missing 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldkFkbmRCRFZVQ0k" 1.18 -TAGS="hackdorte slim" 1.19 1.20 -DEPENDS="slim" 1.21 -BUILD_DEPENDS="imagemagick" 1.22 +COOKOPTS="!pngquant" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - mkdir -p $install/usr/share/slim/themes/Leaves 1.28 - cp -a $src/* $install/usr/share/slim/themes/Leaves 1.29 - ( 1.30 - cd $install/usr/share/slim/themes/Leaves 1.31 - convert background.png background.jpg 1.32 - rm background.png 1.33 - ) 1.34 - chown -R root:root $install 1.35 +compile_rules() { 1.36 + theme="$install/usr/share/slim/themes/Leaves" 1.37 + mkdir -p $theme 1.38 + cp -r $src/* $theme 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - cp -a $install/* $fs 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + DEPENDS="slim" 1.48 + TAGS="hackdorte slim" 1.49 } 1.50 1.51 -post_install() 1.52 -{ 1.53 +post_install() { 1.54 chroot "$1/" slim-theme -s Leaves 1.55 } 1.56 1.57 -pre_remove() 1.58 -{ 1.59 +pre_remove() { 1.60 chroot "$1/" slim-theme -f Leaves 1.61 }