# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xdpyinfo
pkgver=1.3.3
pkgrel=0
pkgdesc="X11 display information viewer"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libx11-dev libxcomposite-dev libxext-dev libxinerama-dev
	libxrender-dev libxtst-dev libxxf86dga-dev libxxf86misc-dev
	libxxf86vm-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="47fe0821bc64145876853712ebd7c0af80111c243813615b892429021cc9a53abd38c4684551ae300cb5a4eacdd3d26e2c93e789ed91a948b20e2c37cd2d2442  xdpyinfo-1.3.3.tar.xz"