# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glproto
pkgver=1.4.17
pkgrel=2
pkgdesc="X11 OpenGL 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"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
md5sums="5565f1b0facf4a59c2778229c1f70d10  glproto-1.4.17.tar.bz2"
sha256sums="adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40  glproto-1.4.17.tar.bz2"
sha512sums="3e5bb1949ab9993e07d2ed7e829b9e0a8803eab476e9f4082fc01087c3dce01f3bcb9d55261eaf60e55977a689b326ed1dcf40f74d5e1fc660c83bea094b6754  glproto-1.4.17.tar.bz2"
