# Contributor: Johannes Dewender arch at JonnyJD dot net pkgname=dh-autoreconf pkgver=20 pkgrel=1 pkgdesc="debhelper add-on to call autoreconf and clean up after the build" arch=('any') url="https://packages.debian.org/sid/dh-autoreconf" license=('GPL') depends=('debhelper' 'perl' 'autoconf' 'automake' 'gettext' 'libtool') source=(https://deb.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.tar.xz) sha256sums=('53e6d9084a70c87afc8ceadc988868de07d53d2404e98be51e500aa42548d37d') package() { cd "$srcdir/$pkgname-$pkgver" install -D "dh_autoreconf" "$pkgdir/usr/bin/dh_autoreconf" install -D "dh_autoreconf_clean" "$pkgdir/usr/bin/dh_autoreconf_clean" install -D -m 644 autoreconf.pm \ "$pkgdir/usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence/autoreconf.pm" # man pages mkdir -p "$pkgdir"/usr/share/man/man{1,7} pod2man_func --section=1 dh_autoreconf "$pkgdir"/usr/share/man/man1/dh_autoreconf.1 pod2man_func --section=1 dh_autoreconf_clean "$pkgdir"/usr/share/man/man1/dh_autoreconf_clean.1 pod2man_func --section=7 dh-autoreconf.pod "$pkgdir"/usr/share/man/man7/dh-autoreconf.7 } pod2man_func() { pod2man -r "dh-autoreconf v$pkgver" -c dh-autoreconf $@ } # vim:set ts=2 sw=2 et: