From 7e16091e9db018bf5c2148807c1054e1bbc498e3 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sun, 11 May 2014 20:42:48 +0200 Subject: [PATCH] New package: indent-2.2.10 --- srcpkgs/indent/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/indent/template diff --git a/srcpkgs/indent/template b/srcpkgs/indent/template new file mode 100644 index 0000000000..89f3166a39 --- /dev/null +++ b/srcpkgs/indent/template @@ -0,0 +1,20 @@ +# Template file for 'indent' +pkgname=indent +version=2.2.10 +revision=1 +build_style=gnu-configure +configure_args="--docdir=/usr/share/doc/indent" +short_desc="indent can be used to make code easier to read" +maintainer="Enno Boland " +homepage="http://www.gnu.org/s/indent/" +license="GPL-3" +distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" +checksum=8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639 + +pre_configure() { + sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in +} + +post_install() { + rm $DESTDIR/usr/bin/texinfo2man +}