void-packages/srcpkgs/flatpak-builder/template

21 lines
739 B
Bash

# Template file for 'flatpak-builder'
pkgname=flatpak-builder
version=1.0.12
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config xmlto"
makedepends="flatpak-devel json-glib-devel libcap-devel libsoup-devel
libyaml-devel libcurl-devel"
short_desc="Tool to build flatpaks from source"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/flatpak/flatpak-builder"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=4780c1b8e0838ffb64e9639bd7801417964fd818c7c6d5e9afca4d5511ded2c8
# Tests expects a Debian derivate hosts to build a flatpak container from.
make_check=no
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" flatpak-devel"
fi