void-packages/srcpkgs/xar/template
2018-04-26 20:43:24 +02:00

34 lines
857 B
Bash

# Template file for 'xar'
pkgname=xar
version=1.6.1
revision=5
build_style=gnu-configure
configure_args="ac_cv_sizeof_uid_t=4"
makedepends="zlib-devel bzip2-devel e2fsprogs-devel acl-devel libxml2-devel libressl-devel"
short_desc="Archiver for the eXtensible ARchiver format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="https://github.com/mackyle/xar"
distfiles="https://github.com/downloads/mackyle/xar/${pkgname}-${version}.tar.gz"
checksum=ee46089968457cf710b8cf1bdeb98b7ef232eb8a4cdeb34502e1f16ef4d2153e
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+=" musl-fts-devel"
LDFLAGS="-lfts"
;;
esac
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
}
}