# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbitmaps
pkgver=1.1.1
pkgrel=2
pkgdesc="X.org header files with bitmaps"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
options="!check"  # No test suite.
depends="util-macros"
makedepends=
source="http://www.x.org/releases/individual/data/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	update_config_sub
	default_prepare
}

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="172a74014e699e5f295ae726a77f1669baf4ac00d64a138b77e5502102b2a02c10127f35ccea5b6af5479d17f60a6bb63ac0f943fd071ab8b396d43ef314ae61  xbitmaps-1.1.1.tar.bz2"