[arch-commits] Commit in startup-notification/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Feb 23 15:59:59 UTC 2011


    Date: Wednesday, February 23, 2011 @ 10:59:58
  Author: jgc
Revision: 111001

Wreck libsm dependency

Modified:
  startup-notification/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-23 15:39:03 UTC (rev 111000)
+++ PKGBUILD	2011-02-23 15:59:58 UTC (rev 111001)
@@ -1,12 +1,14 @@
 # $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
 pkgname=startup-notification
 pkgver=0.10
-pkgrel=1
+pkgrel=2
 pkgdesc="Monitor and display application startup"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('libx11' 'libsm' 'xcb-util>=0.3.4')
+depends=('libx11' 'xcb-util>=0.3.4')
 options=('!libtool')
 url="http://www.freedesktop.org"
 source=(http://www.freedesktop.org/software/startup-notification/releases/${pkgname}-${pkgver}.tar.gz)
@@ -14,7 +16,9 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  sed -i -e '/AC_PATH_XTRA/d' configure.in
+  autoreconf --force --install
+  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
+  make
+  make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list