wok view slim-theme-clean/receipt @ rev 19169

slim-theme-*: move to 'customization' category
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 02 02:41:24 2016 +0300 (2016-06-02)
parents f8b381f96ad6
children 16bbdc96072c
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-clean"
4 VERSION="20150602"
5 CATEGORY="customization"
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 }