# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=imake
pkgver=1.0.9
pkgrel=0
pkgdesc="X Windows make utility"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="X11"
depends=""
makedepends="util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.X.org/releases/individual/util/$pkgname-$pkgver.tar.xz"

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

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

sha512sums="e7587cf80369c8f4fcc1207c13bcb74a53d838b504ac8a7f3b98fb8f5f595cc7b8e5e9fad50cadcf40cf27bd02ef4eae7fe458854bbed7bea27d474d66520644  imake-1.0.9.tar.xz"