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 }