From d80a7b116138d1dad2f0ea1d6ad97da5a6d2070e Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 7 Dec 2010 01:37:51 +0000
Subject: fixesproto: upgrade

---
 abs/core/fixesproto/PKGBUILD | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/abs/core/fixesproto/PKGBUILD b/abs/core/fixesproto/PKGBUILD
index 6af302b..2cc1e4e 100644
--- a/abs/core/fixesproto/PKGBUILD
+++ b/abs/core/fixesproto/PKGBUILD
@@ -1,22 +1,27 @@
-# $Id: PKGBUILD 54646 2009-10-11 16:21:38Z andyrtr $
+# $Id: PKGBUILD 97554 2010-10-31 15:47:03Z jgc $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=fixesproto
-pkgver=4.1.1
+pkgver=4.1.2
 pkgrel=1
 pkgdesc="X11 Fixes extension wire protocol"
 arch=(any)
 url="http://xorg.freedesktop.org/"
 license=('custom')
 depends=('xproto' 'xextproto')
+makedepends=('xorg-util-macros')
 source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('4c1cb4f2ed9f34de59f2f04783ca9483')
+sha1sums=('c9cda7ff37849250c328f8dc52dc0f6e546df3a5')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
-  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./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}/"
 }
 
-- 
cgit v0.12