# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xfindproxy
pkgver=1.0.4
pkgrel=0
pkgdesc="X11 proxy locator service"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libice-dev libxt-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xfindproxy-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="e99fdec21070d0052e21340bc2d471eed5c6b423ccfb063f3225d2bb63a264d5efa7e4d5d76543554e02f898d209338b178ba18f866593d946bc6fa117a630e2  xfindproxy-1.0.4.tar.bz2"