# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=imake
pkgver=1.0.8
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.bz2"

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

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

sha512sums="5352b0148664506c8eb7ba80f95fced146d150398673547ba0b2c7c966a382bc21de43dfb8e0d74e38a0a563f16ddbec48bf8c8e6daa1a0899a95403579d7728  imake-1.0.8.tar.bz2"