aboutsummaryrefslogtreecommitdiffstats
path: root/main/dri2proto/APKBUILD
blob: eeac0374374b38aec2fd26ff7d0aaf8a24758f88 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dri2proto
pkgver=2.6
pkgrel=0
pkgdesc="X11 DRI protocol"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="2eb74959684f47c862081099059a11ab  dri2proto-2.6.tar.bz2"