From 3275b9987ffd18ffd78bafa303b1b2b13431a316 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Sat, 13 Nov 2010 02:17:48 +0000
Subject: xf86-input-acecad: up to latest

---
 abs/core/xf86-input-acecad/LICENSE     | 24 ++++++++++++++++++++++++
 abs/core/xf86-input-acecad/PKGBUILD    | 30 +++++++++++++++++++-----------
 abs/core/xf86-input-acecad/__changelog |  2 ++
 3 files changed, 45 insertions(+), 11 deletions(-)
 create mode 100644 abs/core/xf86-input-acecad/LICENSE
 create mode 100644 abs/core/xf86-input-acecad/__changelog

diff --git a/abs/core/xf86-input-acecad/LICENSE b/abs/core/xf86-input-acecad/LICENSE
new file mode 100644
index 0000000..cb245d3
--- /dev/null
+++ b/abs/core/xf86-input-acecad/LICENSE
@@ -0,0 +1,24 @@
+This package was downloaded from
+http://xorg.freedesktop.org/releases/individual/driver/
+
+Copyright (c) 2001 Edouard TISSERANT <tissered@esstin.u-nancy.fr>
+Parts inspired from Shane Watts <shane@bofh.asn.au> XFree86 3 Acecad Driver
+Thanks to Emily, from AceCad, For giving me documents.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/abs/core/xf86-input-acecad/PKGBUILD b/abs/core/xf86-input-acecad/PKGBUILD
index aa3513f..bcd94df 100644
--- a/abs/core/xf86-input-acecad/PKGBUILD
+++ b/abs/core/xf86-input-acecad/PKGBUILD
@@ -1,22 +1,30 @@
-# $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 88560 2010-08-24 08:42:15Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
 pkgname=xf86-input-acecad
-pkgver=1.2.2
-pkgrel=1
+pkgver=1.4.0
+pkgrel=3
 pkgdesc="X.Org acecad tablet input driver"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('pkgconfig' 'xorg-server>=1.4.0.90')
+license=('custom')
+depends=('sysfsutils')
+makedepends=('xorg-server')
+conflicts=('xorg-server>1.8.1')
 options=('!libtool')
 groups=('xorg-input-drivers')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE)
+md5sums=('51247dc0d73185e35bec326283bc49a5'
+         '6f401ccbe91e2938b01d5a85df350a7c')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
 }
-md5sums=('2d6596b2b0cfa527b5ed4df2014684bf')
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
diff --git a/abs/core/xf86-input-acecad/__changelog b/abs/core/xf86-input-acecad/__changelog
new file mode 100644
index 0000000..8c40bdf
--- /dev/null
+++ b/abs/core/xf86-input-acecad/__changelog
@@ -0,0 +1,2 @@
+change makedepends from ('xorg-server-devel') to ('xorg-server')
+change conflicts ('xorg-server<1.9.0') to ('xorg-server<1.8.1')
-- 
cgit v0.12