6 pkgdesc="GNU utilities to locate files"
10 depends=('glibc' 'sh')
11 url='https://www.gnu.org/software/findutils/'
12 source=("https://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.xz"{,.sig})
13 sha1sums=('b702a37d3a33038102659777ba1fe99835bb19fe'
15 validpgpkeys=('A5189DB69C1164D33002936646502EF796917195') # Bernhard Voelker <mail@bernhard-voelker.de>
18 cd ${pkgname}-${pkgver}
20 # Don't build or install locate because we use mlocate,
21 # which is a secure version of locate.
22 sed -e '/^SUBDIRS/s/locate//' -e 's/frcode locate updatedb//' -i Makefile.in
24 ./configure --prefix=/usr
25 # don't build locate, but the docs want a file in there.
26 make -C locate dblocation.texi
31 cd ${pkgname}-${pkgver}
36 cd ${pkgname}-${pkgver}
37 make DESTDIR="$pkgdir" install