wok-current view slim-theme-leaves/receipt @ rev 23821
syslinux: merge init.exe & taziso (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 09:34:09 2020 +0000 (2020-05-28) |
parents | 16bbdc96072c |
children | 34e801e0eb52 |
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="https://github.com/SliTaz-official/hackdorte-artwork/tree/master/slim/themes"
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 }