wok-current view slim-theme-japan-art/receipt @ rev 19959
slim-theme-control: add compile_rules(); files processing following it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 20 15:38:00 2017 +0300 (2017-05-20) |
parents | 0a411c8beacd |
children | c49ffc024a6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-japan-art"
4 VERSION="20150603"
5 CATEGORY="customization"
6 SHORT_DESC="Japan Art - theme for SLiM"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://desktopstylish.tumblr.com/post/120590949085/japan-art-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=0B4Re2DvqOMqlUkJHVDJrXzVFRUk"
16 DEPENDS="slim"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 theme=$install/usr/share/slim/themes/JapanArt
23 mkdir -p $theme
24 cp -a $src/* $theme
25 chown -R root:root $install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }
34 post_install()
35 {
36 chroot "$1/" slim-theme -s JapanArt
37 }
39 pre_remove()
40 {
41 chroot "$1/" slim-theme -f JapanArt
42 }