diff --git a/srcpkgs/chroot-file/template b/srcpkgs/chroot-file/template index 66ff6a5dc79..7c615393cee 100644 --- a/srcpkgs/chroot-file/template +++ b/srcpkgs/chroot-file/template @@ -1,8 +1,9 @@ # Template file for 'chroot-file' pkgname=chroot-file -version=5.15 +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" @@ -10,9 +11,7 @@ maintainer="Juan RP " homepage="http://www.darwinsys.com/file/" license="BSD" distfiles="ftp://ftp.astron.com/pub/file/file-$version.tar.gz" -checksum=4bd52cc614d6488127c0bddc208a2855481744d76ff0878d9c173d2a6ed564e4 - -bootstrap=yes +checksum=48bcac7726c37a8a0bc7ffa16b58993575657dd7b382039380fb3b74ab389261 post_install() { rm -rf ${DESTDIR}/usr/share/man @@ -20,8 +19,10 @@ post_install() { chroot-file_package() { noverifyrdeps=yes - conflicts="file>=0 file-devel>=0 libmagic>=0" - provides="file-${version} file-devel-${version} libmagic-${version}" + for f in file file-devel libmagic; do + conflicts+="${f}>=0 " + provides+="${f}-${version}_${revision} " + done pkg_install() { vmove all }