# Contributor:
# Maintainer:
pkgname=autoconf-archive
pkgver=2019.01.06
pkgrel=0
pkgdesc="GNU Autoconf Macro Archive"
url="https://www.gnu.org/software/autoconf-archive/"
arch="noarch"
license="GPL-3.0+"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftpmirror.gnu.org/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver/"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="14bf8d0bf8be4a4dc078677de1977e496d4d9cf095bc897c174e331311b722cd3a34054e74c2146fff4b5c84269463e6a6fc61907d77d1c51bb221c8fb124fcb  autoconf-archive-2019.01.06.tar.xz"