# Template file for 'libostree'
pkgname=libostree
version=2017.11
revision=1
build_style=gnu-configure
configure_args="--with-builtin-grub2-mkconfig --with-openssl"
hostmakedepends="bison libxslt pkg-config glib-devel docbook-xsl"
makedepends="e2fsprogs-devel fuse-devel glib-devel gpgme-devel libarchive-devel
 liblzma-devel libressl-devel libsoup-devel"
short_desc="Operating system and container binary deployment and upgrades"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="https://ostree.readthedocs.io/en/latest/"
distfiles="https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz"
checksum=15f3beef22d67f9b28489763b94f5279bba6f457d0fea93763997816c93b2dd4

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