wok-next view slim-theme-leaves/receipt @ rev 18928

Add webdiapo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 16:42:59 2016 +0100 (2016-02-25)
parents
children 0a411c8beacd
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-leaves"
4 VERSION="20150602"
5 CATEGORY="x-window"
6 SHORT_DESC="Leaves - theme for SLiM"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldkFkbmRCRFZVQ0k"
12 TAGS="hackdorte slim"
14 DEPENDS="slim"
15 BUILD_DEPENDS="imagemagick"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $install/usr/share/slim/themes/Leaves
21 cp -a $src/* $install/usr/share/slim/themes/Leaves
22 (
23 cd $install/usr/share/slim/themes/Leaves
24 convert background.png background.jpg
25 rm background.png
26 )
27 chown -R root:root $install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }
36 post_install()
37 {
38 chroot "$1/" slim-theme -s Leaves
39 }
41 pre_remove()
42 {
43 chroot "$1/" slim-theme -f Leaves
44 }