Unverified Commit e35a3a9b authored by Rasmus Thomsen's avatar Rasmus Thomsen Committed by prspkt

community/flatpak: add flatpak user

It's required for its new update/installation mechanism, see the flatpak
release notes.
parent b7c19fd0
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=flatpak
pkgver=1.4.0
pkgrel=0
pkgrel=1
pkgdesc="Application deployment framework for desktop apps"
url="https://flatpak.org"
arch="all !aarch64"
......@@ -13,6 +14,7 @@ makedepends="glib-dev libarchive-dev libsoup-dev libcap-dev polkit-dev
libgcab-dev appstream-glib-dev dconf-dev
libseccomp-dev libxslt-dev gpgme-dev bison"
subpackages="$pkgname-dev $pkgname-lang"
install="flatpak.pre-install flatpak.pre-upgrade"
source="https://github.com/flatpak/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
musl-fixes.patch"
options="suid !check" # Tests fail with no error message
......@@ -33,7 +35,8 @@ build() {
--disable-static \
--disable-documentation \
--with-priv-mode=setuid \
--with-system-bubblewrap
--with-system-bubblewrap \
--with-system-helper-user=flatpak
make
}
......
#!/bin/sh
addgroup -S flatpak 2>/dev/null
adduser -S -D -h /var/lib/flatpak -s /sbin/nologin -G flatpak -g flatpak flatpak 2>/dev/null
exit 0
flatpak.pre-install
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment