# Template file for 'chroot-file'
pkgname=chroot-file
version=5.15
revision=1
wrksrc="file-${version}"
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="File type identification utility -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.darwinsys.com/file/"
license="BSD"
distfiles="ftp://ftp.astron.com/pub/file/file-$version.tar.gz"
checksum=4bd52cc614d6488127c0bddc208a2855481744d76ff0878d9c173d2a6ed564e4

bootstrap=yes

post_install() {
	rm -rf ${DESTDIR}/usr/share/man
}

chroot-file_package() {
	noverifyrdeps=yes
	conflicts="file>=0 file-devel>=0 libmagic>=0"
	provides="file-${version} file-devel-${version} libmagic-${version}"
	pkg_install() {
		vmove all
	}
}
