summaryrefslogtreecommitdiff
path: root/flatpak/Pkgfile
blob: b7f470c8b0219b05f8e5e252e0e13ae9cf890a38 (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 appstream-glib bubblewrap libseccomp ostree polkit python3-pyparsing
    5 # Optional: docbook-xsl libxslt xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-kde
    6 
    7 name=flatpak
    8 version=1.15.1
    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 
   15   prt-get isinst libxslt docbook-xsl || PKGMK_FLATPAK+=' --disable-documentation'
   16 
   17   ./configure $PKGMK_FLATPAK \
   18     --prefix=/usr \
   19     --libexecdir=/usr/lib \
   20     --with-system-bubblewrap \
   21     --with-priv-mode=setuid \
   22     --with-profile-dir=/etc/profile.d \
   23     --with-dbus-config-dir=/usr/share/dbus-1/system.d \
   24     --with-system-helper-user=flatpak \
   25     --disable-static \
   26     --disable-nls
   27   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   28 
   29   make
   30   make DESTDIR=$PKG install
   31 
   32   rm -fr $PKG/usr/lib/{systemd,sysusers.d}
   33   rm -fr $PKG/usr/share/{gtk-doc,doc,selinux,fish}
   34 }

Generated by cgit