[arch-commits] Commit in flatpak/repos (4 files)
Jan Steffens
heftig at archlinux.org
Wed May 18 14:23:04 UTC 2016
Date: Wednesday, May 18, 2016 @ 16:23:04
Author: heftig
Revision: 268297
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
flatpak/repos/extra-i686/
flatpak/repos/extra-i686/PKGBUILD
(from rev 268296, flatpak/trunk/PKGBUILD)
flatpak/repos/extra-x86_64/
flatpak/repos/extra-x86_64/PKGBUILD
(from rev 268296, flatpak/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+)
Copied: flatpak/repos/extra-i686/PKGBUILD (from rev 268296, flatpak/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-05-18 14:23:04 UTC (rev 268297)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Application deployment framework for desktop apps"
+url="https://wiki.gnome.org/Projects/SandboxedApps"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(dbus systemd glib2 libsoup polkit xorg-xauth libgsystem ostree fuse
+ json-glib libseccomp libarchive libelf)
+makedepends=(intltool python libxslt gobject-introspection gtk-doc git)
+source=("flatpak::git+https://github.com/alexlarsson/xdg-app#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
+
+ #find . -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --sbindir=/usr/bin --libexecdir=/usr/lib \
+ --disable-static --enable-gtk-doc
+
+ 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
+}
Copied: flatpak/repos/extra-x86_64/PKGBUILD (from rev 268296, flatpak/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-05-18 14:23:04 UTC (rev 268297)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Application deployment framework for desktop apps"
+url="https://wiki.gnome.org/Projects/SandboxedApps"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(dbus systemd glib2 libsoup polkit xorg-xauth libgsystem ostree fuse
+ json-glib libseccomp libarchive libelf)
+makedepends=(intltool python libxslt gobject-introspection gtk-doc git)
+source=("flatpak::git+https://github.com/alexlarsson/xdg-app#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
+
+ #find . -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --sbindir=/usr/bin --libexecdir=/usr/lib \
+ --disable-static --enable-gtk-doc
+
+ 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
+}
More information about the arch-commits
mailing list