pkgname=automake pkgver=1.17 pkgrel=1 pkgdesc="A GNU tool for automatically creating Makefiles" arch=('x86_64') url="https://www.gnu.org/software/automake/" license=('GPL-2.0-or-later') groups=('base-devel') depends=('bash' 'perl') makedepends=('autoconf') source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz) sha256sums=(8920c1fc411e13b90bf704ef9db6f29d540e76d232cb3b2c9f4dc4cc599bd990) build() { cd ${pkgname}-${pkgver} local configure_args=( --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }