pkgname=gtk-doc-am
pkgbase=gtk-doc
pkgver=1.34.0
pkgdesc="Automake files from gtk-doc"
homepage="https://gitlab.gnome.org/GNOME/gtk-doc"
licenses=("GPL-2+" "FDL-1.1")
sources=("${pkgbase}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgbase}/${pkgver%.*}/${sources[0]}")
sha512sums=("d962fe31949b5f7c70122c7ebbd98f4d21725697804bf5dd75fd7a6662753a91c9350fd1e8bed22a58a957b173f35e200fcbb4c7c2ebc45ccbc0db2e916b27ea")

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_install() {
  install -vDm644 buildsystems/autotools/gtk-doc.m4 -t "${pkgdir}/usr/share/aclocal"
}

# vim:ft=sh syn=sh et sw=2:
