# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxxf86dga
pkgver=1.1.6
pkgrel=3
pkgdesc="X11 Direct Graphics Access extension library"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="libxext-dev libx11-dev util-macros xorgproto"
source="https://www.x.org/releases/individual/lib/libXxf86dga-$pkgver.tar.xz"
builddir="$srcdir"/libXxf86dga-$pkgver
options="!check"  # No test suite.

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

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

sha512sums="
61f7954471df63840ffb5e82347018e285d30d64d4d0a97770ca031c8554a0f52d1b007ab8342a283cd2f0d534f564fb59f57ec92515714f20a7d145912c65d9  libXxf86dga-1.1.6.tar.xz
"
