wok view slim-theme-leaves/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
parents 34e801e0eb52
children c965782a38e0
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://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
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/SliTaz-official/hackdorte-artwork/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/Leaves
30 mkdir -p $theme
31 cp -a $src/* $theme
32 cd $theme
33 convert background.png background.jpg
34 rm background.png
35 chown -R root:root $install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }
44 post_install()
45 {
46 chroot "$1/" slim-theme -s Leaves
47 }
49 pre_remove()
50 {
51 chroot "$1/" slim-theme -f Leaves
52 }