wok-6.x view slim-theme-pilar/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | a9da5bf33e10 |
children | 0a411c8beacd |
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-pilar"
4 VERSION="1.0-20130609"
5 CATEGORY="x-window"
6 SHORT_DESC="Pilar - theme for SLiM"
7 MAINTAINER="holkfoor@gmail.com"
8 LICENSE="CC-BY"
9 WEB_SITE="http://www.slitaz.org/"
11 DEPENDS="slim slitaz-configs-base"
12 BUILD_DEPENDS=""
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 theme=$fs/usr/share/slim/themes/pilar
18 mkdir -p $theme
19 cp -a $stuff/* $theme
20 }
22 post_install()
23 {
24 chroot "$1/" slim-theme -spilar
25 }
27 pre_remove()
28 {
29 chroot "$1/" slim-theme -fpilar
30 }