aboutsummaryrefslogtreecommitdiffstats
path: root/main/dri3proto/APKBUILD
blob: 6feeac03b43439f6c2404da70ba2a603e1f920bc (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
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dri3proto
pkgver=1.0
pkgrel=1
pkgdesc="X11 DRI 3 protocol"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
makedepends=""
source="http://www.x.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
}
md5sums="a3d2cbe60a9ca1bf3aea6c93c817fee3  dri3proto-1.0.tar.bz2"
sha256sums="01be49d70200518b9a6b297131f6cc71f4ea2de17436896af153226a774fc074  dri3proto-1.0.tar.bz2"
sha512sums="d2925bc2e2bfb3f30c4dc3082d84dc6a2e7d8ea02021ea02d681cbf92e6b256e9e4e0f5abfc394aa0c7762d841b1c8f82d2098c616ca1d7f4a3b5fd8a54f01f8  dri3proto-1.0.tar.bz2"