void-packages/srcpkgs/flatpak-builder/template

19 lines
647 B
Bash

# Template file for 'flatpak-builder'
pkgname=flatpak-builder
version=1.0.6
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="Rasmus Thomsen <oss@cogitri.dev>"
license="LGPL-2.1-or-later"
homepage="https://github.com/flatpak/flatpak-builder"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=3b572ad7b7cce9ca6a8632ca69a49a47b20e99066fe064b7b56e7896dca789bb
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" flatpak-devel"
fi