summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/dri2proto/PKGBUILD15
1 files 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 <jgc@archlinux.org>
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}/"
}