aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86driproto/APKBUILD
blob: 152b6aaa30569c0c6f24a5af3a0df01217bbc1bd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86driproto
pkgver=2.1.1
pkgrel=3
pkgdesc="X11 DRI extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
options="!check"  # No test suite.
depends=""
makedepends="util-macros"
source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	update_config_sub
	default_prepare
}

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

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