From 1319221cd8f61ee6f9a2561fa90aeee324abde53 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 7 Dec 2010 01:39:12 +0000
Subject: inputproto: upgrade

---
 abs/core/inputproto/PKGBUILD | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/abs/core/inputproto/PKGBUILD b/abs/core/inputproto/PKGBUILD
index 2741bb7..d91a4f8 100644
--- a/abs/core/inputproto/PKGBUILD
+++ b/abs/core/inputproto/PKGBUILD
@@ -1,22 +1,27 @@
-# $Id: PKGBUILD 54533 2009-10-11 09:28:09Z andyrtr $
+# $Id: PKGBUILD 99316 2010-11-14 15:51:28Z jgc $
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=inputproto
-pkgver=2.0
+pkgver=2.0.1
 pkgrel=1
 pkgdesc="X11 Input extension wire protocol"
 arch=(any)
 license=('custom')
 url="http://xorg.freedesktop.org/"
+makedepends=('xorg-util-macros')
 source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('0f7acbc14a082f9ae03744396527d23d')
+sha1sums=('9c11b99b7cccceafa6b4235a3084523fb7cb4621')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr
+  make
+}
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
+
-- 
cgit v0.12

