# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imake
pkgver=1.0.10
pkgrel=1
pkgdesc="X Windows make utility"
url="https://www.x.org"
arch="all"
license="custom"
options="!check"  # No test suite.
makedepends="util-macros xorgproto"
subpackages="$pkgname-doc"
source="https://ftp.x.org/pub/individual/util/imake-$pkgver.tar.xz"

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

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

sha512sums="
ea96db27a6da13ea2d64652936e508b5e3d5d712347a2eb248376dc1f262c18720d9934b8ae69b4c0fc65b135c847be42da084fe924e4825ce1d359f4ef7e60f  imake-1.0.10.tar.xz
"
