From 7d86c233039868fe00075c7637f9f2182dd0fe5a Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 10 Dec 2010 03:17:02 +0000
Subject: libdrm: upgrade

---
 abs/core/libdrm/PKGBUILD | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/abs/core/libdrm/PKGBUILD b/abs/core/libdrm/PKGBUILD
index 68a5a06..33144f3 100644
--- a/abs/core/libdrm/PKGBUILD
+++ b/abs/core/libdrm/PKGBUILD
@@ -2,26 +2,20 @@
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=libdrm
-pkgver=2.4.21
-pkgrel=2
+pkgver=2.4.22
+pkgrel=1
 pkgdesc="Userspace interface to kernel DRM services"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('custom')
 depends=('glibc')
 options=('!libtool')
 url="http://dri.freedesktop.org/"
 source=(http://dri.freedesktop.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-        libdrm-2.4.21-b803918f3f.patch
         no-pthread-stubs.patch
         COPYING)
-md5sums=('273ed9dad986e3a931649f3d8762ff74'
-         'd67fab8381b371fe2a8f86e2819aef2b'
-         '9b5ec3bbebe86921e2057694c42f65b8'
-         'ba65e71c481b94ef0fb6c23c7f21ffa1')
      
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/libdrm-2.4.21-b803918f3f.patch"
   patch -Np1 -i "${srcdir}/no-pthread-stubs.patch"
   libtoolize --force
   aclocal
@@ -32,7 +26,13 @@ build() {
       --enable-vmwgfx-experimental-api --enable-nouveau-experimental-api \
       --enable-udev
   make
+}
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
   install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
+md5sums=('3bdfa33f35d1c902e5115cceb5500c83'
+         '9b5ec3bbebe86921e2057694c42f65b8'
+         'ba65e71c481b94ef0fb6c23c7f21ffa1')
-- 
cgit v0.12

