pkgname=xcursorgen
pkgver=1.0.7
pkgrel=0
pkgdesc="Create an X cursor file from PNG images"
arch="all"
url="https://xorg.freedesktop.org/"
license="custom"
makedepends="libx11-dev libxcursor-dev libpng-dev"
source="https://xorg.freedesktop.org/archive/individual/app/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
	install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/"
}
sha512sums="bd13ad23691d3daa2d5dcdc5902cf62e3dcb97a0289aff362e6cd85866a1d8cafb64f98800a75bfb4cf1f3c76244ca20201847dff594543d136d0abaec7011d2  xcursorgen-1.0.7.tar.bz2"
