summaryrefslogtreecommitdiff
path: root/flatpak/Pkgfile
blob: d5c59acfce4bebee68a65902ac37987bb4d41cf1 (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 
    6 name=flatpak
    7 version=1.8.0
    8 release=1
    9 source=(https://github.com/flatpak/flatpak/releases/download/$version/$name-$version.tar.xz)
   10 
   11 build() {
   12   cd $name-$version
   13   ./configure \
   14     --prefix=/usr \
   15     --libexecdir=/usr/lib \
   16     --disable-static \
   17     --with-system-bubblewrap \
   18     --with-priv-mode=setuid \
   19     --with-profile-dir=/etc/profile.d \
   20     --with-dbus-config-dir=/usr/share/dbus-1/system.d \
   21     --with-system-helper-user=flatpak \
   22     --disable-nls
   23   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   24   make
   25   make DESTDIR=$PKG install
   26   rm -fr $PKG/usr/lib/{systemd,sysusers.d}
   27   rm -fr $PKG/usr/share/{gtk-doc,doc,selinux,fish}
   28 }

Generated by cgit