indent: fix empty manpage; revbump

This commit is contained in:
Enno Boland 2014-05-11 21:25:29 +02:00
parent 7e16091e9d
commit 711382eded

View file

@ -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
}