void-packages/srcpkgs/findutils/template
Peter Bui 7e0d63f4af findutils: update to 4.7.0.
- Drop unnecessary patches (changes upstreamed)
- Fix xlint issues
2019-09-28 20:27:31 +02:00

32 lines
966 B
Bash

# Template file for 'findutils'
pkgname=findutils
version=4.7.0
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="--program-prefix=g"
short_desc="GNU Find Utilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/findutils"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=c5fefbdf9858f7e4feb86f036e1247a54c79fc2d8e4b7064d5aaa1f47dfa789a
alternatives="
xargs:xargs:/usr/bin/gxargs
xargs:xargs.1:/usr/share/man/man1/gxargs.1
find:find:/usr/bin/gfind
find:find.1:/usr/share/man/man1/gfind.1
"
post_extract() {
sed -i '/SUBDIRS/s/locate//' Makefile.in
}
pre_check() {
# LFS reccomends disabling this due to to the possibility of looping forever on some machines
# see: http://www.linuxfromscratch.org/lfs/view/development/chapter06/findutils.html
sed -i 's/test-lock..EXEEXT.//' tests/Makefile.in
}
post_configure() {
make -C locate dblocation.texi
}