summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss2018-06-21 21:08:50 +0200
committerLuca Weiss2018-06-21 21:08:50 +0200
commitffb7c0b216b0b21a53bc31e8d1e75476bb421d87 (patch)
treef0764fbce4a0767dc76f42d475249f775dfc8697
parentc728b430931aa3120a000841affd5e0414b82ea9 (diff)
downloadaur-ffb7c0b216b0b21a53bc31e8d1e75476bb421d87.tar.gz
19 and install man pages
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab3f89bc203e..ee21527da253 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dh-autoreconf
pkgdesc = debhelper add-on to call autoreconf and clean up after the build
- pkgver = 17
+ pkgver = 19
pkgrel = 1
url = http://packages.debian.org/sid/dh-autoreconf
arch = any
@@ -11,8 +11,8 @@ pkgbase = dh-autoreconf
depends = automake
depends = gettext
depends = libtool
- source = http://ftp.debian.org/debian/pool/main/d/dh-autoreconf/dh-autoreconf_17.tar.xz
- sha256sums = 6123aae6b2044ffcccaf55ee219fc6f3ece8eadbb5c4172563a789fb8afdf7bc
+ source = http://ftp.debian.org/debian/pool/main/d/dh-autoreconf/dh-autoreconf_19.tar.xz
+ sha256sums = d6d7feb73c9a762a6eb93d407e33cbe056cfcea9aca14bef2121037b1a9e18fb
pkgname = dh-autoreconf
diff --git a/PKGBUILD b/PKGBUILD
index 258a64c6a7f5..af01115009dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=dh-autoreconf
-pkgver=17
+pkgver=19
pkgrel=1
pkgdesc="debhelper add-on to call autoreconf and clean up after the build"
arch=('any')
@@ -8,7 +8,7 @@ url="http://packages.debian.org/sid/dh-autoreconf"
license=('GPL')
depends=('debhelper' 'perl' 'autoconf' 'automake' 'gettext' 'libtool')
source=(http://ftp.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.tar.xz)
-sha256sums=('6123aae6b2044ffcccaf55ee219fc6f3ece8eadbb5c4172563a789fb8afdf7bc')
+sha256sums=('d6d7feb73c9a762a6eb93d407e33cbe056cfcea9aca14bef2121037b1a9e18fb')
package() {
cd "$srcdir/$pkgname-$pkgver"
@@ -16,6 +16,15 @@ package() {
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: