archrelease: copy trunk to staging-x86_64
[arch-packages.git] / dri2proto / trunk / PKGBUILD
blobb975f119e057bdba1e87ca8fc75de27b73486990
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=dri2proto
5 pkgver=2.8
6 pkgrel=2
7 pkgdesc="X11 DRI protocol"
8 arch=(any)
9 license=('custom')
10 url="https://xorg.freedesktop.org/"
11 makedepends=('xorg-util-macros')
12 source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
13 sha256sums=('f9b55476def44fc7c459b2537d17dbc731e36ed5d416af7ca0b1e2e676f8aa04')
15 build() {
16   cd ${pkgname}-${pkgver}
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd ${pkgname}-${pkgver}
23   make DESTDIR="${pkgdir}" install
24   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
25   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"