wok rev 9492

Up: tazpkg (4.4) - New notification and stuff from GoKhlaYeh branch (I dont want branch...)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 01:56:27 2011 +0200 (2011-04-06)
parents 8dd4d8f85434
children dbee7d9a3ad7
files tazpkg/receipt
line diff
     1.1 --- a/tazpkg/receipt	Tue Apr 05 14:54:10 2011 +0000
     1.2 +++ b/tazpkg/receipt	Wed Apr 06 01:56:27 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tazpkg"
     1.7 -VERSION="4.2.6"
     1.8 +VERSION="4.4"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  BUILD_DEPENDS="gettext"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.slitaz.org/"
    1.16 -WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.bz2"
    1.17 +WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
    1.18  TAGS="slitaz package-manager"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 @@ -42,5 +42,13 @@
    1.22  {
    1.23  	#Apply a fix to config file /etc/slitaz/slitaz.conf
    1.24  	[ -f /etc/slitaz/slitaz.conf ] && sed 's/LOCAL_STATE/LOCALSTATE/'\
    1.25 -		-i /etc/slitaz/slitaz.conf 
    1.26 +		-i /etc/slitaz/slitaz.conf
    1.27 +	# Make sure new confi is present
    1.28 +	if ! grep -q ^NOTIFY_GEOM "$root/etc/slitaz/tazpkg.conf"; then
    1.29 +		cat >> "$root/etc/slitaz/tazpkg.conf" << "EOT"
    1.30 +# The geometry of the desktop notification
    1.31 +NOTIFY_GEOM="360x80-0+24"
    1.32 +
    1.33 +EOT
    1.34 +	fi
    1.35  }