[arch-commits] CVS update of extra/gnome/gnome-nettool (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Apr 22 12:24:16 EDT 2007


    Date: Sunday, April 22, 2007 @ 12:24:16
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/gnome-nettool

Modified: PKGBUILD (1.13 -> 1.14)

upgpkg: gnome-nettool 2.18.0-2
Move to /usr


----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)


Index: extra/gnome/gnome-nettool/PKGBUILD
diff -u extra/gnome/gnome-nettool/PKGBUILD:1.13 extra/gnome/gnome-nettool/PKGBUILD:1.14
--- extra/gnome/gnome-nettool/PKGBUILD:1.13	Thu Mar 29 12:26:29 2007
+++ extra/gnome/gnome-nettool/PKGBUILD	Sun Apr 22 12:24:16 2007
@@ -1,27 +1,25 @@
-# $Id: PKGBUILD,v 1.13 2007/03/29 16:26:29 jgc Exp $
+# $Id: PKGBUILD,v 1.14 2007/04/22 16:24:16 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Kritoke <kritoke at nospam.gmail.com>
 
 pkgname=gnome-nettool
 pkgver=2.18.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A Collection of GNOME2 Networking Tools."
 arch=(i686 x86_64)
-license=(GPL)
-depends=('gconf>=2.18.0.1' 'libglade>=2.6.0')
+license=('GPL')
+depends=('gconf>=2.18.0.1-2' 'libglade>=2.6.0' 'scrollkeeper')
 conflicts=('gnome-network')
 replaces=('gnome-netinfo')
+groups=('gnome-extra')
 url="http://www.gnome.org"
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('596616cf631b5bc9ec0c873208ccfce9')
 
 build() {
-  [ -z "${GNOMEDIR}" ] && . /etc/profile.d/gnome.sh
   cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/opt/gnome --disable-scrollkeeper
+  ./configure --prefix=/usr --sysconfdir=/etc \
+              --localstatedir=/var --disable-scrollkeeper
   make || return 1
   make DESTDIR=${startdir}/pkg install
-
-  mkdir -p ${startdir}/pkg/usr/share
-  mv ${startdir}/pkg/opt/gnome/share/icons ${startdir}/pkg/usr/share/
 }




More information about the arch-commits mailing list