# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxext
pkgver=1.3.4
pkgrel=0
pkgdesc="X11 miscellaneous extensions library"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
depends_dev="libxau-dev"
makedepends="$depends_dev libx11-dev util-macros xmlto xorgproto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXext-$pkgver.tar.bz2"
builddir="$srcdir"/libXext-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-xmlto \
		--without-fop
	make
}

check() {
	make check
}

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

sha512sums="09146397d95f80c04701be1cc0a9c580ab5a085842ac31d17dfb6d4c2e42b4253b89cba695e54444e520be359883a76ffd02f42484c9e2ba2c33a5a40c29df4a  libXext-1.3.4.tar.bz2"