85cc462e1d
* Moved helpers, common and triggers dirs into xbps-src, where they belong. * Renamed the templates dir to srcpkgs, it was so redundant before. * Make it possible to add subpkgs with no restriction in names, for example udev now has a subpkgs called "libgudev". Previously subpkgs were named "${sourcepkg}-${pkgname}". * xbps-src: changed to look for template files in current directory. That means that most arguments from the targets have been removed. * xbps-src: added a reinstall target, to remove + install. * xbps-src: do not overwrite binpkgs by default, skip them. And more that I forgot because it's a mega-commit that I've been working for some days already... --HG-- extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
25 lines
884 B
Text
25 lines
884 B
Text
# Template file for 'findutils'
|
|
pkgname=findutils
|
|
version=4.4.2
|
|
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=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
|
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
|
|
}
|