# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=autoconf-archive
pkgver=2017.09.28
pkgrel=0
pkgdesc="A collection of freely re-usable Autoconf macros"
url="http://www.gnu.org/software/autoconf-archive/"
arch="noarch"
license="GPL"
depends="autoconf"
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://open-source-box.org/autoconf-archive/autoconf-archive-$pkgver.tar.xz"
builddir="$srcdir/autoconf-archive-$pkgver"

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

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

sha512sums="2aa271fdd67fa3caf20e07eb8332d88f7008eefe1df447980d42cb2104313d99947b94ffdb0f6f4b4c8156cfc73d9e0b6c27a5f133c6b73787ef641d9951be90  autoconf-archive-2017.09.28.tar.xz"
