# Maintainer: Daniel Müllner <muellner@math.stanford.edu>

pkgname=autoconf-archive
pkgver=2014.02.28
pkgrel=1
epoch=1
pkgdesc="A collection of freely re-usable Autoconf macros"
arch=('any')
url="http://www.gnu.org/software/autoconf-archive/"
license=('GPL')
depends=('autoconf')
optdepends=('automake: macros for use with it')
source=(http://ftpmirror.gnu.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
md5sums=('c75812c827654c2ca015c8995b17c8cb'
         'SKIP')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}
