void-packages/srcpkgs/flatpak/template

35 lines
1.1 KiB
Bash
Raw Normal View History

2017-04-13 15:37:23 +00:00
# Template file for 'flatpak'
pkgname=flatpak
2017-06-21 18:43:57 +00:00
version=0.9.6
2017-05-24 17:51:31 +00:00
revision=1
2017-04-13 15:37:23 +00:00
build_style=gnu-configure
configure_args="--disable-documentation --with-system-bubblewrap"
2017-05-10 22:40:17 +00:00
hostmakedepends="bubblewrap libxslt pkg-config glib-devel"
2017-04-13 15:37:23 +00:00
makedepends="elfutils-devel fuse-devel glib-devel gpgme-devel json-glib-devel
libarchive-devel libcap-devel libostree-devel libseccomp-devel libsoup-devel
libXau-devel polkit-devel"
depends="bubblewrap"
short_desc="Application sandboxing and distribution framework"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://flatpak.org/"
distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz"
2017-06-21 18:43:57 +00:00
checksum=d0835b70db8de97d3d3a6a57ecbc0bf8c69d308daa20897079634521e1949f9e
2017-04-25 16:10:49 +00:00
2017-05-10 22:40:17 +00:00
post_install() {
rm -rf $DESTDIR/usr/lib/systemd
}
flatpak-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} glib-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
}
}