aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86driproto/APKBUILD
blob: 53f651ecb087b28baa875bf068e16bbac8010a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86driproto
pkgver=2.1.1
pkgrel=2
pkgdesc="X11 DRI extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="dce0d4da1dd703a6cdfe7676537034d43c9e84d70f20afdfe59be7929a97fbd077fa7026e41c0fca8aafd5fe666b2ee99265c8e94e69263bdf46e2be9ff34df2  xf86driproto-2.1.1.tar.bz2"