summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xf86dgaproto/PKGBUILD
blob: ff665d06a7318af3559377d9a01f47abbc8904ab (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 56536 2009-10-22 16:45:57Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>

pkgname=xf86dgaproto
pkgver=2.1
pkgrel=1
pkgdesc="X11 Direct Graphics Access extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('a036dc2fcbf052ec10621fd48b68dbb1')

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 COPYING "${pkgdir}/usr/share/licenses/${pkgname}" || return 1
}