wok-4.x rev 12019
Up: jwm (2.1.0) - SliTaz 1.0 WM got commits, round corner, opacity and more
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 06 14:16:20 2012 +0100 (2012-03-06) |
parents | 438b7a480f9e |
children | 827b17f598c3 |
files | jwm/receipt |
line diff
1.1 --- a/jwm/receipt Tue Mar 06 14:15:08 2012 +0100 1.2 +++ b/jwm/receipt Tue Mar 06 14:16:20 2012 +0100 1.3 @@ -1,17 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="jwm" 1.7 -VERSION="2.0.1" 1.8 +VERSION="2.1.0" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="JWM is a light Window Manager for the X window system." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="xorg slitaz-configs" 1.13 -BUILD_DEPENDS="xorg-dev xorg-libXft-dev jpeg-dev" 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WEB_SITE="http://www.joewing.net/programs/jwm/" 1.16 WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL" 1.17 +CONFIG_FILES="/etc/jwm/system.jwmrc" 1.18 TAGS="wm window-manager" 1.19 1.20 +DEPENDS="xorg slitaz-configs" 1.21 +BUILD_DEPENDS="xorg-dev xorg-libXft-dev jpeg-dev" 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 @@ -32,27 +34,7 @@ 1.27 { 1.28 mkdir -p $fs/usr/bin $fs/etc/jwm 1.29 cp -a $src/src/jwm $fs/usr/bin 1.30 - # Simple config file. 1.31 - cp stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc 1.32 + # Simple and default config file. 1.33 + cp $stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc 1.34 + cp $stuff/slitaz.jwmrc $fs/etc/jwm/system.jwmrc 1.35 } 1.36 - 1.37 -# Pre and post install to backup all /etc/settings 1.38 -# 1.39 -pre_install() 1.40 -{ 1.41 - local root 1.42 - root=$1 1.43 - echo "" 1.44 - echo "Creating backup of JWM system configuration..." 1.45 - cp -a $root/etc/jwm/system.jwmrc cp -a $root/etc/jwm/system.jwmrc.bak 2>/dev/null 1.46 - echo "" 1.47 -} 1.48 -post_install() 1.49 -{ 1.50 - local root 1.51 - root=$1 1.52 - echo "" 1.53 - echo "Restoring backup of JWM system configuration..." 1.54 - cp -a $root/etc/jwm/system.jwmrc.bak $root/etc/jwm/system.jwmrc 2>/dev/null 1.55 - echo "" 1.56 -}