[arch-commits] Commit in flatpak/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Dec 16 22:02:19 UTC 2017


    Date: Saturday, December 16, 2017 @ 22:02:17
  Author: heftig
Revision: 312978

0.10.2-1

Modified:
  flatpak/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-16 21:46:39 UTC (rev 312977)
+++ PKGBUILD	2017-12-16 22:02:17 UTC (rev 312978)
@@ -2,7 +2,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=flatpak
-pkgver=0.10.1
+pkgver=0.10.2
 pkgrel=1
 pkgdesc="Linux application sandboxing and distribution framework (formerly xdg-app)"
 url="http://flatpak.org"
@@ -12,7 +12,7 @@
          python bubblewrap appstream-glib)
 makedepends=(intltool gobject-introspection gtk-doc git docbook-xsl xmlto)
 checkdepends=(valgrind)
-_commit=8fbd442c9d395ca19561c98e20a7451926c440ab  # tags/0.10.1^0
+_commit=648f74b324db7df7c29b2c1b96c0482c6689b633  # tags/0.10.2^0
 source=("git+https://github.com/flatpak/flatpak#commit=$_commit"
         "git+https://github.com/projectatomic/bubblewrap"
         "git+https://git.gnome.org/browse/libglnx")
@@ -70,9 +70,17 @@
   depends+=(xdg-desktop-portal)
 
   cd $pkgname
-
   make DESTDIR="$pkgdir" install
 
+  install -Dm644 /dev/stdin "$pkgdir/etc/profile.d/flatpak-bindir.sh" <<END
+if [ -d "\$HOME" ] && [ -d "\$HOME/.local/share/flatpak/exports/bin" ]; then
+  PATH="\$PATH:\$HOME/.local/share/flatpak/exports/bin"
+fi
+if [ -d /var/lib/flatpak/exports/bin ]; then
+  PATH="\$PATH:/var/lib/flatpak/exports/bin"
+fi
+END
+
   # Fixup mode to match polkit
   install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
 }



More information about the arch-commits mailing list