From 2c9e7825da642ae59f06d1872a98f7390080bc50 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Sat, 13 Nov 2010 02:17:19 +0000
Subject: libxdmcp: up to latest

---
 abs/core/libxdmcp/PKGBUILD | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/abs/core/libxdmcp/PKGBUILD b/abs/core/libxdmcp/PKGBUILD
index bc16a60..1c6c2fd 100644
--- a/abs/core/libxdmcp/PKGBUILD
+++ b/abs/core/libxdmcp/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 97611 2010-10-31 16:26:42Z jgc $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=libxdmcp
-pkgver=1.0.2
+pkgver=1.1.0
 pkgrel=1
 pkgdesc="X11 Display Manager Control Protocol library"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
+license=('custom')
 depends=('xproto' 'glibc')
-makedepends=('pkgconfig')
+makedepends=('xorg-util-macros')
 options=('!libtool')
 source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2)
-md5sums=('10facf2bc7cbd5e5c1a698b8a210a582')
+sha1sums=('28132db24727552f77e998e6a6798a5b9b30789f')
 
 build() {
-  cd ${startdir}/src/libXdmcp-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc \
-              --host=${CHOST} --build=${CHOST}
+  cd "${srcdir}/libXdmcp-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
 }
+package() {
+  cd "${srcdir}/libXdmcp-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
-- 
cgit v0.12

