From 711382eded230d21ddffa6f900b8846d181a675b Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sun, 11 May 2014 21:25:29 +0200 Subject: [PATCH] indent: fix empty manpage; revbump --- srcpkgs/indent/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/indent/template b/srcpkgs/indent/template index 89f3166a394..1f238922d19 100644 --- a/srcpkgs/indent/template +++ b/srcpkgs/indent/template @@ -1,7 +1,7 @@ # Template file for 'indent' pkgname=indent version=2.2.10 -revision=1 +revision=2 build_style=gnu-configure configure_args="--docdir=/usr/share/doc/indent" short_desc="indent can be used to make code easier to read" @@ -15,6 +15,13 @@ pre_configure() { sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in } +post_build() { + # manpages are not created properly, so recreate it + cd man + rm indent.1 + make CC=cc clean all +} + post_install() { rm $DESTDIR/usr/bin/texinfo2man }