# Template file for 'chroot-file'
pkgname=chroot-file
version=5.14
revision=2
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=461ba01dd0900a3b7c2dcd901b04903192c07887a9c1928af0be507572c77fe4

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 usr
	}
}
