From e2a6e3fca7b7e3f57dd2c747374b78e8393f70e4 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 6 Aug 2012 21:14:42 -0500 Subject: driproto 2.6 --- abs/core/dri2proto/PKGBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/abs/core/dri2proto/PKGBUILD b/abs/core/dri2proto/PKGBUILD index d05b73f..0657dda 100644 --- a/abs/core/dri2proto/PKGBUILD +++ b/abs/core/dri2proto/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot pkgname=dri2proto -pkgver=2.3 +pkgver=2.6 pkgrel=1 pkgdesc="X11 DRI protocol" arch=(any) @@ -10,14 +10,17 @@ license=('custom') url="http://xorg.freedesktop.org/" makedepends=('xorg-util-macros') source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('6c9e2c822e777db435a43616067f8dd21cc00a53') +sha1sums=('ba65fc53376fd6e6b41bf6ef1e2ea1ba4b12ca96') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + ./configure --prefix=/usr + make +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } -- cgit v0.12