From 69c4a42519cd40bdccf953a68f445af1576e76c3 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Wed, 10 Nov 2010 23:12:43 +0000
Subject: libstst to  1.2

---
 abs/core/libxtst/PKGBUILD | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/abs/core/libxtst/PKGBUILD b/abs/core/libxtst/PKGBUILD
index cd160da..bcdf92d 100644
--- a/abs/core/libxtst/PKGBUILD
+++ b/abs/core/libxtst/PKGBUILD
@@ -1,23 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 97591 2010-10-31 16:11:54Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
 pkgname=libxtst
-pkgver=1.0.3
-pkgrel=2
+pkgver=1.2.0
+pkgrel=1
 pkgdesc="X11 Testing -- Resource extension library"
 arch=(i686 x86_64)
-options=('!libtool')
 url="http://xorg.freedesktop.org/"
-depends=('libxext' 'recordproto')
-makedepends=('pkgconfig')
+license=('custom')
+depends=('libxext' 'libxi' 'recordproto' 'inputproto')
+makedepends=('xorg-util-macros')
+options=('!libtool')
 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.bz2)
+sha1sums=('9fb06ed599caf7f9e7115cbbfadf02b47c17aa72')
 
 build() {
-  cd ${startdir}/src/libXtst-${pkgver}
-  ./configure --prefix=/usr \
-              --build=${CHOST} --host=${CHOST}
-  make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
-}
+  cd "${srcdir}/libXtst-${pkgver}"
+  ./configure --prefix=/usr --disable-static
+  make
+  make DESTDIR="${pkgdir}" install
 
-md5sums=('090c1ad04e34982eada5cf3b1a0792fd')
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
-- 
cgit v0.12

