void-packages/srcpkgs/chroot-file/template
2013-12-10 14:58:36 +01:00

29 lines
711 B
Text

# Template file for 'chroot-file'
pkgname=chroot-file
version=5.16
revision=1
wrksrc="file-${version}"
bootstrap=yes
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=48bcac7726c37a8a0bc7ffa16b58993575657dd7b382039380fb3b74ab389261
post_install() {
rm -rf ${DESTDIR}/usr/share/man
}
chroot-file_package() {
noverifyrdeps=yes
for f in file file-devel libmagic; do
conflicts+="${f}>=0 "
provides+="${f}-${version}_${revision} "
done
pkg_install() {
vmove all
}
}