# Template file for 'xar'
pkgname=xar
version=1.5.2
revision=4
build_style=gnu-configure
makedepends="acl-devel libxml2-devel libressl-devel"
short_desc="eXtensible ARchiver format"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="https://code.google.com/p/xar"
distfiles="https://xar.googlecode.com/files/xar-${version}.tar.gz"
checksum=4c5d5682803cdfab16d72365cf51fc4075d597c5eeaa8c7d1990fea98cdae3e6

post_install() {
	vlicense LICENSE
}

xar-devel_package() {
	depends="xar>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}
