From 0caf4e9e67b63f40eb812ac3d2029031eda6428b Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 7 Sep 2018 00:43:27 -0300 Subject: [PATCH] indent: update to 2.2.12. --- srcpkgs/indent/patches/fix-locale_h.patch | 12 ++++++++++++ srcpkgs/indent/template | 14 +++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 srcpkgs/indent/patches/fix-locale_h.patch diff --git a/srcpkgs/indent/patches/fix-locale_h.patch b/srcpkgs/indent/patches/fix-locale_h.patch new file mode 100644 index 0000000000..7b2dd0386b --- /dev/null +++ b/srcpkgs/indent/patches/fix-locale_h.patch @@ -0,0 +1,12 @@ +--- src/indent.c ++++ src/indent.c +@@ -71,9 +71,7 @@ + #include + #include + #include +-#ifdef HAVE_LOCALE_H + #include +-#endif + #include "indent.h" + #include "backup.h" + #include "code_io.h" diff --git a/srcpkgs/indent/template b/srcpkgs/indent/template index ff28879e81..c52eaa5c3c 100644 --- a/srcpkgs/indent/template +++ b/srcpkgs/indent/template @@ -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 " 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 -}