# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxfixes
pkgver=5.0.3
pkgrel=2
pkgdesc="X11 fixes extension library"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=
makedepends="libx11-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.x.org/releases/individual/lib/libXfixes-$pkgver.tar.bz2"
builddir="$srcdir"/libXfixes-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="72d5ee496e5c0520c95ef6bbb52deff1ee4c29792f11aa17aeb25c8ec5eb992ca502de040c77ad95835d1b1432f315b6cb7a3308b434847c28b9c2c6f9d1ac10  libXfixes-5.0.3.tar.bz2"