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

fix
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 15 01:25:29 2017 +0200 (2017-10-15)
parents 0a411c8beacd
children 03ccd15b9fa1
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 TAGS="hackdorte slim"
11 COOKOPTS="!pngquant"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldkFkbmRCRFZVQ0k"
16 DEPENDS="slim"
17 BUILD_DEPENDS="imagemagick"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 theme=$install/usr/share/slim/themes/Leaves
23 mkdir -p $theme
24 cp -a $src/* $theme
25 cd $theme
26 convert background.png background.jpg
27 rm background.png
28 chown -R root:root $install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }
37 post_install()
38 {
39 chroot "$1/" slim-theme -s Leaves
40 }
42 pre_remove()
43 {
44 chroot "$1/" slim-theme -f Leaves
45 }