wok view slim-theme-esperanza/receipt @ rev 24712

updated less (551 -> 590)
author Hans-G?nter Theisgen
date Mon Mar 14 17:50:02 2022 +0100 (2022-03-14)
parents 03ccd15b9fa1
children 77ec99338524
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-esperanza"
4 VERSION="20150602"
5 CATEGORY="customization"
6 SHORT_DESC="Esperanza - 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=0B4Re2DvqOMqldmFkeEcyXzRpLVk"
16 DEPENDS="slim"
17 BUILD_DEPENDS=""
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/Esperanza
30 mkdir -p $theme
31 cp -a $src/* $theme
32 chown -R root:root $install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }
41 post_install()
42 {
43 chroot "$1/" slim-theme -s Esperanza
44 }
46 pre_remove()
47 {
48 chroot "$1/" slim-theme -f Esperanza
49 }