[arch-commits] Commit in flatpak/repos (6 files)
Christian Hesse <ewor at archlinux.org
Christian Hesse <ewor at archlinux.org
Tue Aug 2 07:14:45 UTC 2016
Date: Tuesday, August 2, 2016 @ 07:14:45
Author: eworm
Revision: 272817
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
flatpak/repos/testing-i686/
flatpak/repos/testing-i686/PKGBUILD
(from rev 272816, flatpak/trunk/PKGBUILD)
flatpak/repos/testing-i686/flatpak.install
(from rev 272816, flatpak/trunk/flatpak.install)
flatpak/repos/testing-x86_64/
flatpak/repos/testing-x86_64/PKGBUILD
(from rev 272816, flatpak/trunk/PKGBUILD)
flatpak/repos/testing-x86_64/flatpak.install
(from rev 272816, flatpak/trunk/flatpak.install)
--------------------------------+
testing-i686/PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++
testing-i686/flatpak.install | 11 +++++++
testing-x86_64/PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/flatpak.install | 11 +++++++
4 files changed, 136 insertions(+)
Copied: flatpak/repos/testing-i686/PKGBUILD (from rev 272816, flatpak/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-08-02 07:14:45 UTC (rev 272817)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak
+pkgver=0.6.8
+pkgrel=1
+pkgdesc="Application deployment framework for desktop apps"
+url="http://flatpak.org"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(dbus systemd glib2 libsoup polkit xorg-xauth libgsystem ostree fuse
+ json-glib libseccomp libarchive libelf libcap)
+makedepends=(intltool python libxslt gobject-introspection gtk-doc git)
+install=flatpak.install
+source=("git+https://github.com/flatpak/flatpak#tag=$pkgver"
+ "git+https://git.gnome.org/browse/libglnx"
+ "git+https://github.com/projectatomic/bubblewrap")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git config --local submodule.bubblewrap.url "$srcdir/bubblewrap"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --sbindir=/usr/bin --libexecdir=/usr/lib/$pkgname --disable-static \
+ --enable-gtk-doc --with-priv-mode=setuid
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make -k check
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="$pkgdir" install
+
+ # Fixup mode to match polkit
+ install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}
Copied: flatpak/repos/testing-i686/flatpak.install (from rev 272816, flatpak/trunk/flatpak.install)
===================================================================
--- testing-i686/flatpak.install (rev 0)
+++ testing-i686/flatpak.install 2016-08-02 07:14:45 UTC (rev 272817)
@@ -0,0 +1,11 @@
+post_install() {
+ post_upgrade $1 0
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 0.6.1-3) < 0 )); then
+ # Generate initial /var/lib/flatpak/repo; must be present
+ # before non-root flatpak will try polkit auth
+ flatpak remote-list
+ fi
+}
Copied: flatpak/repos/testing-x86_64/PKGBUILD (from rev 272816, flatpak/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-08-02 07:14:45 UTC (rev 272817)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak
+pkgver=0.6.8
+pkgrel=1
+pkgdesc="Application deployment framework for desktop apps"
+url="http://flatpak.org"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(dbus systemd glib2 libsoup polkit xorg-xauth libgsystem ostree fuse
+ json-glib libseccomp libarchive libelf libcap)
+makedepends=(intltool python libxslt gobject-introspection gtk-doc git)
+install=flatpak.install
+source=("git+https://github.com/flatpak/flatpak#tag=$pkgver"
+ "git+https://git.gnome.org/browse/libglnx"
+ "git+https://github.com/projectatomic/bubblewrap")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git config --local submodule.bubblewrap.url "$srcdir/bubblewrap"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --sbindir=/usr/bin --libexecdir=/usr/lib/$pkgname --disable-static \
+ --enable-gtk-doc --with-priv-mode=setuid
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make -k check
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="$pkgdir" install
+
+ # Fixup mode to match polkit
+ install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}
Copied: flatpak/repos/testing-x86_64/flatpak.install (from rev 272816, flatpak/trunk/flatpak.install)
===================================================================
--- testing-x86_64/flatpak.install (rev 0)
+++ testing-x86_64/flatpak.install 2016-08-02 07:14:45 UTC (rev 272817)
@@ -0,0 +1,11 @@
+post_install() {
+ post_upgrade $1 0
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 0.6.1-3) < 0 )); then
+ # Generate initial /var/lib/flatpak/repo; must be present
+ # before non-root flatpak will try polkit auth
+ flatpak remote-list
+ fi
+}
More information about the arch-commits
mailing list