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

---
 abs/core/libdmx/PKGBUILD | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/abs/core/libdmx/PKGBUILD b/abs/core/libdmx/PKGBUILD
index 335d4a1..a189b3d 100644
--- a/abs/core/libdmx/PKGBUILD
+++ b/abs/core/libdmx/PKGBUILD
@@ -1,22 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 97777 2010-11-01 22:06:48Z jgc $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=libdmx
-pkgver=1.0.2
+pkgver=1.1.1
 pkgrel=1
 pkgdesc="X11 Distributed Multihead extension library"
+arch=('x86_64' 'i686')
 url="http://xorg.freedesktop.org/"
-depends=(dmxproto libxext)
-makedepends=(pkgconfig)
-arch=('i686' 'x86_64')
+license=('custom')
+depends=('dmxproto' 'libxext')
+makedepends=('xorg-util-macros')
+options=('!libtool')
 source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=(4d866967210d06098fc9f302ed4c79b1)
+sha1sums=('49aeab743cb8b667829efda140487b69a7148676')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-              --build=${CHOST} --host=${CHOST}
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --disable-static
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
 }
+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

