pkgname=automake pkgver=1.17 pkgdesc="A GNU tool for automatically creating Makefiles" license=('GPL') url="https://www.gnu.org/software/automake" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("7ab3a02318fee6f5bd42adfc369abf10") src_prepare() { tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 } src_build() { ./configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}-${pkgver} make } src_check() { make check } src_install() { make DESTDIR="${pkgdir}" install }