blob: d4b58d415d8c0acb8eca00b11fb7690cec7d4f9a (
plain)
1 # Description: Linux application sandboxing and distribution framework (formerly xdg-app)
2 # URL: https://flatpak.org
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: appstream-glib bubblewrap json-glib libseccomp ostree polkit python3-pyparsing
5 # Optional: xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-kde
6
7 name=flatpak
8 version=1.8.2
9 release=1
10 source=(https://github.com/flatpak/flatpak/releases/download/$version/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14 ./configure \
15 --prefix=/usr \
16 --libexecdir=/usr/lib \
17 --disable-static \
18 --with-system-bubblewrap \
19 --with-priv-mode=setuid \
20 --with-profile-dir=/etc/profile.d \
21 --with-dbus-config-dir=/usr/share/dbus-1/system.d \
22 --with-system-helper-user=flatpak \
23 --disable-nls
24 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
25 make
26 make DESTDIR=$PKG install
27 rm -fr $PKG/usr/lib/{systemd,sysusers.d}
28 rm -fr $PKG/usr/share/{gtk-doc,doc,selinux,fish}
29 }
|