# Maintainer: Alexey Pavlov <alexpux@gmail.com>

pkgname=automake-wrapper
pkgver=11
pkgrel=4
pkgdesc="Wrapper scripts for automake and aclocal"
arch=('any')
license=('GPL')
url="https://packages.gentoo.org/packages/sys-devel/automake-wrapper"
depends=(
  'bash'
  'gawk'
  'automake1.11'
  'automake1.12'
  'automake1.13'
  'automake1.14'
  'automake1.15'
  'automake1.16')
source=("am-wrapper-${pkgver}.sh::https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/automake-wrapper/files/am-wrapper-${pkgver}.sh?id=1c995dec8c8361c4c52b83a06b2cfc20c2d7213d")
sha256sums=('455dd326ec1ab04f5cbbdfd9bc0df5ad86152c0b2442faca98da0813827e0cbc')
provides=("automake")
conflicts=("automake")

package() {
  mkdir -p ${pkgdir}/usr/bin

  cp "${srcdir}"/am-wrapper-${pkgver}.sh ${pkgdir}/usr/bin/automake
  cp "${srcdir}"/am-wrapper-${pkgver}.sh ${pkgdir}/usr/bin/aclocal
}
