wok-6.x view slim-theme-clean/receipt @ rev 19007

Up slitaz-tools(968)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 26 15:57:36 2016 +0200 (2016-03-26)
parents
children 0a411c8beacd
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-clean"
4 VERSION="20150602"
5 CATEGORY="x-window"
6 SHORT_DESC="Clean - theme for SLiM"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://desktopstylish.tumblr.com/post/120566561330/clean-slim-theme-download"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlczlac2tXa01wbTQ"
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/Clean
21 cp -a $src/* $install/usr/share/slim/themes/Clean
22 (
23 cd $install/usr/share/slim/themes/Clean
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 Clean
39 }
41 pre_remove()
42 {
43 chroot "$1/" slim-theme -f Clean
44 }