# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fontsproto
pkgver=2.1.3
pkgrel=2
pkgdesc="X11 font extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
options="!check"  # No test suite.
depends=""
makedepends="util-macros"
subpackages="$pkgname-doc"
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="36934d00b00555eaacde9f091f392f97  fontsproto-2.1.3.tar.bz2"
sha256sums="259046b0dd9130825c4a4c479ba3591d6d0f17a33f54e294b56478729a6e5ab8  fontsproto-2.1.3.tar.bz2"
sha512sums="f46d5b733aa48644aa3aa75d4ed47231ef78cb60f747f7200d82331a1ba566190bf37b5b9926c690dec6356043ce7c85a5b59fc1b4b11667ef432518b5d4cc87  fontsproto-2.1.3.tar.bz2"