indent: update to 2.2.12.

This commit is contained in:
maxice8 2018-09-07 00:43:27 -03:00
parent 38ca0e501c
commit 0caf4e9e67
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 17 additions and 9 deletions

View File

@ -0,0 +1,12 @@
--- src/indent.c
+++ src/indent.c
@@ -71,9 +71,7 @@
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
-#ifdef HAVE_LOCALE_H
#include <locale.h>
-#endif
#include "indent.h"
#include "backup.h"
#include "code_io.h"

View File

@ -1,15 +1,15 @@
# Template file for 'indent'
pkgname=indent
version=2.2.10
revision=4
version=2.2.12
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 <gottox@voidlinux.eu>"
homepage="http://www.gnu.org/s/indent/"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639
license="GPL-3.0-or-later"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b
pre_configure() {
sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in
@ -22,7 +22,3 @@ post_build() {
rm indent.1
make CC=cc LD=cc CFLAGS= LDFLAGS= clean all
}
post_install() {
rm $DESTDIR/usr/bin/texinfo2man
}