# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xdpyinfo
pkgver=1.3.2
pkgrel=2
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.bz2"

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

check() {
	make check
}

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

sha512sums="2c9097c13778c7a7fe5a9b3ee04b28512ff6028231eca91ecdf6104c742be470678920d37a4f540fece7e39dccbea34802271f359ab80618027b2856c8912e7d  xdpyinfo-1.3.2.tar.bz2"