summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xf86driproto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/xf86driproto/PKGBUILD')
-rw-r--r--abs/core-testing/xf86driproto/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/abs/core-testing/xf86driproto/PKGBUILD b/abs/core-testing/xf86driproto/PKGBUILD
index 120c7f4..197c37f 100644
--- a/abs/core-testing/xf86driproto/PKGBUILD
+++ b/abs/core-testing/xf86driproto/PKGBUILD
@@ -1,19 +1,23 @@
-# $Id: PKGBUILD 1886 2008-05-22 17:47:52Z jgc $
+# $Id: PKGBUILD 50995 2009-09-04 12:48:43Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86driproto
-pkgver=2.0.4
+pkgver=2.1.0
pkgrel=1
pkgdesc="X11 DRI extension wire protocol"
+arch=(any)
url="http://xorg.freedesktop.org/"
-arch=(i686 x86_64)
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+license=('custom')
+source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
+ LICENSE)
+sha1sums=('0dfc6616ffc68ca3c3b5decb1e365aaa93be8548'
+ '32bab65dd9c0b49333146abf16602967041b0d92')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
-
-md5sums=('01470d088da3a8a3deefa8e1f45d69cb')