Convert package to the new template format (f).
This commit is contained in:
@@ -13,12 +13,18 @@ homepage="http://www.gnu.org/software/findutils"
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
||||
|
||||
conflicts="chroot-findutils>=0"
|
||||
conf_files="/etc/updatedb.conf"
|
||||
|
||||
post_install() {
|
||||
# Install the cron daily job.
|
||||
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
||||
# Install the updatedb conf file.
|
||||
vinstall ${FILESDIR}/updatedb.conf 640 etc
|
||||
}
|
||||
|
||||
findutils_package() {
|
||||
conf_files="/etc/updatedb.conf"
|
||||
conflicts="chroot-findutils>=0"
|
||||
pkg_install() {
|
||||
vmove etc
|
||||
vmove usr
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user