void-packages/templates/findutils/template

26 lines
884 B
Plaintext

# Template file for 'findutils'
pkgname=findutils
version=4.4.1
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--localstatedir=/var/lib/locate"
short_desc="The GNU Find Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=77a5b85d7fe0dd9c1093e010b61f765707364ec2c89c4f432c1c616215bcc138
long_desc="
The GNU Find Utilities are the basic directory searching utilitiesof the
GNU operating system. These programs are typically used in conjunction with
other programs to provide modular and powerful directory search and file
locating capabilities to other commands."
base_chroot=yes
Add_dependency run glibc
post_install()
{
sed -i -e "s|$XBPS_MASTERDIR||g" ${DESTDIR}/usr/bin/updatedb
# Insdtall the cron daily job.
install -D -m744 ${FILESDIR}/updatedb.cron-daily \
${DESTDIR}/etc/cron.daily/updatedb
}