# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xcursorgen
pkgver=1.0.7
pkgrel=0
pkgdesc="Cursor generator for X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libpng-dev libx11-dev libxcursor-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/xcursorgen-$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="bd13ad23691d3daa2d5dcdc5902cf62e3dcb97a0289aff362e6cd85866a1d8cafb64f98800a75bfb4cf1f3c76244ca20201847dff594543d136d0abaec7011d2  xcursorgen-1.0.7.tar.bz2"