void-packages/srcpkgs/flatpak/template
maxice8 3305c53412 flatpak: update to 0.11.7.
Closes: #14101 [via git-merge-pr]
2018-05-04 01:20:51 -04:00

35 lines
1.1 KiB
Bash

# Template file for 'flatpak'
pkgname=flatpak
version=0.11.7
revision=1
build_style=gnu-configure
configure_args="--disable-documentation --with-system-bubblewrap"
hostmakedepends="bubblewrap glib-devel libxslt pkg-config bison"
makedepends="appstream-glib-devel gpgme-devel json-glib-devel libcap-devel
libostree-devel libseccomp-devel polkit-devel"
checkdepends="dbus"
depends="bubblewrap"
short_desc="Application sandboxing and distribution framework"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://flatpak.org/"
#changelog="https://github.com/flatpak/flatpak/blob/master/NEWS"
distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz"
checksum=1099f3115972f40940ac02af5981bc56931fba662b6875b776e45264f69104ef
post_install() {
rm -rf $DESTDIR/usr/lib/systemd
}
flatpak-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} libglib-devel libostree-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}