wok-current view slim-theme-montanhoso/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents 03ccd15b9fa1
children 77ec99338524
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-montanhoso"
4 VERSION="20150526"
5 CATEGORY="customization"
6 SHORT_DESC="Montanhoso - 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=0B4Re2DvqOMqlTXZZRDJWaFI4NkE"
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/Montanhoso
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 Montanhoso
44 }
46 pre_remove()
47 {
48 chroot "$1/" slim-theme -f Montanhoso
49 }