wok-current diff slim-theme-leaves/receipt @ rev 19119
vlc (hack build for time being)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun May 08 09:53:06 2016 +0100 (2016-05-08) |
parents | |
children | 0a411c8beacd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slim-theme-leaves/receipt Sun May 08 09:53:06 2016 +0100 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slim-theme-leaves" 1.7 +VERSION="20150602" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Leaves - theme for SLiM" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="PublicDomain" 1.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldkFkbmRCRFZVQ0k" 1.15 +TAGS="hackdorte slim" 1.16 + 1.17 +DEPENDS="slim" 1.18 +BUILD_DEPENDS="imagemagick" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + mkdir -p $install/usr/share/slim/themes/Leaves 1.24 + cp -a $src/* $install/usr/share/slim/themes/Leaves 1.25 + ( 1.26 + cd $install/usr/share/slim/themes/Leaves 1.27 + convert background.png background.jpg 1.28 + rm background.png 1.29 + ) 1.30 + chown -R root:root $install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + cp -a $install/* $fs 1.37 +} 1.38 + 1.39 +post_install() 1.40 +{ 1.41 + chroot "$1/" slim-theme -s Leaves 1.42 +} 1.43 + 1.44 +pre_remove() 1.45 +{ 1.46 + chroot "$1/" slim-theme -f Leaves 1.47 +}