# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=aoetools
pkgver=37
pkgrel=0
pkgdesc="tools for managing the linux AoE driver"
url="https://github.com/OpenAoE/aoetools"
arch="all"
license="GPL-2.0"
depends=""
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="https://github.com/OpenAoE/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir" install || return 1
}

md5sums="4da4efa2dcb1a5b5f6bed570c2d2e629  aoetools-37.tar.gz"
sha256sums="477e796f5c18e8c0e61b5d88e1759c68249e8e0210c2f3de2b98680e2cc63e32  aoetools-37.tar.gz"
sha512sums="4ff8f48f20d5ce8fb795373eff959f827b2c829d71c5ac5e63bcc2102aa7205d20991b70766330eed83b13b9731486fb6db777df13ba682f65823f455421632e  aoetools-37.tar.gz"
