summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xf86driproto/PKGBUILD
blob: 197c37f45d830f94d1116a701cb1f9603d9b366c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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.1.0
pkgrel=1
pkgdesc="X11 DRI extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
        LICENSE)
sha1sums=('0dfc6616ffc68ca3c3b5decb1e365aaa93be8548'
          '32bab65dd9c0b49333146abf16602967041b0d92')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || 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
}