wok view slim-theme-leaves/receipt @ rev 19505

Rollback liboping (1.8.0)
author Paul Issott <paul@slitaz.org>
date Sat Nov 19 09:14:20 2016 +0000 (2016-11-19)
parents f8b381f96ad6
children 16bbdc96072c
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-leaves"
4 VERSION="20150602"
5 CATEGORY="customization"
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 }