From 53b844dc123333ed35920dbc5b77deacd6743eda Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 17:41:42 -0500
Subject: dmxproto 2.3.1

---
 abs/core/dmxproto/PKGBUILD | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/abs/core/dmxproto/PKGBUILD b/abs/core/dmxproto/PKGBUILD
index 42ee7fa..1298da8 100644
--- a/abs/core/dmxproto/PKGBUILD
+++ b/abs/core/dmxproto/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 151184 2012-02-25 07:03:52Z pierre $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=dmxproto
-pkgver=2.3
-pkgrel=1
+pkgver=2.3.1
+pkgrel=2
 pkgdesc="X11 Distributed Multihead X extension wire protocol"
-arch=('i686' 'x86_64')
+arch=('any')
+makedepends=('xorg-util-macros')
 url="http://xorg.freedesktop.org/"
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+license=('custom')
+source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('3b8b273b8ef3d8dbab998df9ec1dddf99edf4d91')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr || return 1
-  make || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
 }
+
 package() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  make DESTDIR=${startdir}/pkg install || return 1
+  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}/"
 }
-md5sums=('880a41720b2937e2660dcdc0d34a8791')
-- 
cgit v0.12