summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xf86vidmodeproto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/xf86vidmodeproto/PKGBUILD')
-rw-r--r--abs/core-testing/xf86vidmodeproto/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/abs/core-testing/xf86vidmodeproto/PKGBUILD b/abs/core-testing/xf86vidmodeproto/PKGBUILD
index 378f02d..c2e310e 100644
--- a/abs/core-testing/xf86vidmodeproto/PKGBUILD
+++ b/abs/core-testing/xf86vidmodeproto/PKGBUILD
@@ -1,19 +1,21 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 56538 2009-10-22 16:47:03Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86vidmodeproto
-pkgver=2.2.2
+pkgver=2.3
pkgrel=1
pkgdesc="X11 Video Mode extension wire protocol"
-arch=(i686 x86_64)
+arch=(any)
url="http://xorg.freedesktop.org/"
+license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('f00844a63d6e76b69eb0eb5e41eed843')
-sha1sums=('4a228958879eb06206d13f4f09ec902f837fb8dd')
+md5sums=('4434894fc7d4eeb4a22e6b876d56fdaa')
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 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}