# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bigreqsproto
pkgver=1.1.2
pkgrel=3
pkgdesc="X11 Big Requests extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
options="!check"  # No test suite.
depends=""
makedepends="util-macros xmlto"
subpackages="$pkgname-doc"
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 \
		--without-fop
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="1a05fb01fa1d5198894c931cf925c025  bigreqsproto-1.1.2.tar.bz2"
sha256sums="462116ab44e41d8121bfde947321950370b285a5316612b8fce8334d50751b1e  bigreqsproto-1.1.2.tar.bz2"
sha512sums="9c2f98191169f7bca69601fcea5ddcb45d50b3a6bae087a2d6ee2d83f9729155b23268ad4c46a3cc99162cdacf4c8e3d7f061e58d73237da96f23123444f67d8  bigreqsproto-1.1.2.tar.bz2"
