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

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 2d4c3cc3ef95
children 77ec99338524
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/roqstr/blurry-clean/commits/master 2>/dev/null | \
23 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 theme=$install/usr/share/slim/themes/Clean
30 mkdir -p $theme
31 cp -a $src/* $theme
32 cd $theme
33 convert background.png background.jpg
34 rm background.png
36 chown -R root:root $install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }
45 post_install()
46 {
47 chroot "$1/" slim-theme -s Clean
48 }
50 pre_remove()
51 {
52 chroot "$1/" slim-theme -f Clean
53 }