2017-04-13 17:37:23 +02:00
|
|
|
# Template file for 'flatpak'
|
|
|
|
pkgname=flatpak
|
2017-11-29 09:37:48 +01:00
|
|
|
version=0.10.1
|
2017-08-24 19:19:28 +02:00
|
|
|
revision=1
|
2017-04-13 17:37:23 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-documentation --with-system-bubblewrap"
|
2017-05-11 00:40:17 +02:00
|
|
|
hostmakedepends="bubblewrap libxslt pkg-config glib-devel"
|
2017-04-13 17:37:23 +02:00
|
|
|
makedepends="elfutils-devel fuse-devel glib-devel gpgme-devel json-glib-devel
|
|
|
|
libarchive-devel libcap-devel libostree-devel libseccomp-devel libsoup-devel
|
2017-11-29 09:37:48 +01:00
|
|
|
libXau-devel polkit-devel appstream-glib-devel gdk-pixbuf-devel"
|
|
|
|
checkdepends="dbus"
|
2017-04-13 17:37:23 +02:00
|
|
|
depends="bubblewrap"
|
|
|
|
short_desc="Application sandboxing and distribution framework"
|
|
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://flatpak.org/"
|
2017-09-02 18:01:26 +02:00
|
|
|
#changelog="https://github.com/flatpak/flatpak/blob/master/NEWS"
|
2017-04-13 17:37:23 +02:00
|
|
|
distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz"
|
2017-11-29 09:37:48 +01:00
|
|
|
checksum=c43f6d1503be2b6a2d43ff8b16e3d2f34b6d7c696f4449446a8870cc31a4437c
|
2017-04-25 18:10:49 +02:00
|
|
|
|
2017-05-11 00:40:17 +02: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
|
|
|
|
}
|
|
|
|
}
|