# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xlsclients
pkgver=1.1.4
pkgrel=0
pkgdesc="List running clients on an X11 server"
url="https://www.X.Org/"
arch="all"
license="X11 AND MIT"
depends=""
makedepends="libxcb-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xlsclients-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="42fd848d88d3cf31168a37fed63f9f5b60ddc4f36be2956b354e574c93129d75f29e005d6631784380bcef27860b54c64f419ca18ad77f092f4520dec47b10f4  xlsclients-1.1.4.tar.bz2"