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

xar: add WEB_SITE (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 06 10:00:41 2019 +0100 (2019-02-06)
parents 16bbdc96072c
children b7f1bd1b9ac7
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="https://web.archive.org/web/20151101011855/http://desktopstylish.tumblr.com/post/120566561330/clean-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=0B4Re2DvqOMqlczlac2tXa01wbTQ"
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/Clean
23 mkdir -p $theme
24 cp -a $src/* $theme
25 cd $theme
26 convert background.png background.jpg
27 rm background.png
29 chown -R root:root $install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }
38 post_install()
39 {
40 chroot "$1/" slim-theme -s Clean
41 }
43 pre_remove()
44 {
45 chroot "$1/" slim-theme -f Clean
46 }