# Maintainer: Natanael Copa pkgname=automake pkgver=1.11.1 pkgrel=1 pkgdesc="A GNU tool for automatically creating Makefiles" arch="noarch" license=GPL url="http://www.gnu.org/software/automake" source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz CVE-2012-3386.patch" depends="perl" makedepends="autoconf" subpackages="$pkgname-doc" prepare() { cd "$srcdir"/$pkgname-$pkgver for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR=$pkgdir install } md5sums="4ee7f0ff5f0e467d58b6bd5da96b1c74 automake-1.11.1.tar.gz 4f3b076713662c040dbe22aa7e074eef CVE-2012-3386.patch"