wok view slitaz-configs/receipt @ rev 356
New theme for Slim...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 07 16:18:27 2008 +0100 (2008-03-07) |
parents | |
children | 508b841c38f4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz JWM config, wallparers and sounds."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 # Copy all rootfs from the stuff and set permissions.
16 cp -a $src/rootfs/* $fs
17 chown -R root.root $fs/*
18 }
20 # Pre and post install to backup all /etc/settings
21 #
22 pre_install()
23 {
24 local root
25 root=$1
26 echo ""
27 echo "Creating backup of JWM system configuration..."
28 cp -a $root/etc/jwm/system.jwmrc $root/etc/jwm/system.jwmrc.bak 2>/dev/null
29 echo ""
30 }