From 003a5ce4b8caef6d8bb8702ec8b1e479192d8eef Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 01:50:08 +0000
Subject: dmxproto: upgrade

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

diff --git a/abs/core/dmxproto/PKGBUILD b/abs/core/dmxproto/PKGBUILD
index 1ccffd6..42ee7fa 100644
--- a/abs/core/dmxproto/PKGBUILD
+++ b/abs/core/dmxproto/PKGBUILD
@@ -2,18 +2,23 @@
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=dmxproto
-pkgver=2.2.2
+pkgver=2.3
 pkgrel=1
 pkgdesc="X11 Distributed Multihead X extension wire protocol"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://xorg.freedesktop.org/"
 source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('d80acad88411e7944b9b085463d53302')
-sha1sums=('80c573166ec3b9f17893e2fff84ce0107045faac')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr || return 1
   make || return 1
+}
+package() {
+  cd ${startdir}/src/${pkgname}-${pkgver}
   make DESTDIR=${startdir}/pkg install || return 1
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
 }
+md5sums=('880a41720b2937e2660dcdc0d34a8791')
-- 
cgit v0.12

