From 5f42a80dbe79e095d079b4fe8bdf34722bdc19d3 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 22 Mar 2017 21:10:37 +0000
Subject: findutils: update to 4.6.0

---
 abs/core/findutils/PKGBUILD          | 15 ++++++++-------
 abs/core/findutils/findutils.install | 22 ----------------------
 2 files changed, 8 insertions(+), 29 deletions(-)
 delete mode 100644 abs/core/findutils/findutils.install

diff --git a/abs/core/findutils/PKGBUILD b/abs/core/findutils/PKGBUILD
index e8d3d8c..4fd7789 100644
--- a/abs/core/findutils/PKGBUILD
+++ b/abs/core/findutils/PKGBUILD
@@ -1,19 +1,18 @@
-# $Id: PKGBUILD 142108 2011-11-05 10:13:34Z tpowa $
+# $Id$
 # Maintainer:
 
 pkgname=findutils
-pkgver=4.4.2
-pkgrel=4
+pkgver=4.6.0
+pkgrel=2
 pkgdesc="GNU utilities to locate files"
 arch=('i686' 'x86_64')
 license=('GPL3')
-groups=('base')
+groups=('base' 'base-devel')
 depends=('glibc' 'sh')
 url="http://www.gnu.org/software/findutils"
 source=(ftp://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.gz)
-install=findutils.install
-sha1sums=('e8dd88fa2cc58abffd0bfc1eddab9020231bb024')
-
+sha1sums=('f18e8aaee3f3d4173a1f598001003be8706d28b0')
+#validpgpkeys=('A15B725964A95EE5') # James Youngman <james@youngman.org>
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
@@ -22,6 +21,8 @@ build() {
   sed -i '/^SUBDIRS/s/locate//' Makefile.in
 
   ./configure --prefix=/usr
+  # don't build locate, but the docs want a file in there.
+  make -C locate dblocation.texi
   make
 }
 
diff --git a/abs/core/findutils/findutils.install b/abs/core/findutils/findutils.install
deleted file mode 100644
index e42d782..0000000
--- a/abs/core/findutils/findutils.install
+++ /dev/null
@@ -1,22 +0,0 @@
-infodir=/usr/share/info
-filelist=(find-maint.info find.info)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-# vim:set ts=2 sw=2 et:
-- 
cgit v0.12

