[arch-commits] Commit in flatpak-builder/repos (4 files)
Jan Steffens
heftig at archlinux.org
Tue Sep 5 20:10:24 UTC 2017
Date: Tuesday, September 5, 2017 @ 20:10:24
Author: heftig
Revision: 304717
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
flatpak-builder/repos/testing-i686/
flatpak-builder/repos/testing-i686/PKGBUILD
(from rev 304716, flatpak-builder/trunk/PKGBUILD)
flatpak-builder/repos/testing-x86_64/
flatpak-builder/repos/testing-x86_64/PKGBUILD
(from rev 304716, flatpak-builder/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 130 insertions(+)
Copied: flatpak-builder/repos/testing-i686/PKGBUILD (from rev 304716, flatpak-builder/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-09-05 20:10:24 UTC (rev 304717)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak-builder
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="Tool to build flatpaks from source"
+url="http://flatpak.org"
+arch=(i686 x86_64)
+license=(LGPL2.1)
+depends=(flatpak binutils elfutils unzip tar git bzr patch rpmextract cpio appstream-glib)
+makedepends=(intltool gobject-introspection git docbook-xsl xmlto libdwarf)
+checkdepends=(python2 valgrind)
+replaces=('flatpak<0.9.10')
+_commit=bf876b2e47cc88fb47d0ad33451465e04fff20b1 # tags/0.9.9
+source=("git+https://github.com/flatpak/flatpak-builder#commit=$_commit"
+ "git+https://git.gnome.org/browse/libglnx")
+sha256sums=('SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git submodule update
+
+ # https://github.com/flatpak/flatpak/issues/267
+ sed -i '/locale\/C\./d' tests/make-test-runtime.sh
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ cd $pkgname
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib/$pkgname \
+ --disable-static \
+ --with-dwarf-header=/usr/include/libdwarf
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ # Xattr tests fail on tmpfs
+ make -k check || :
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: flatpak-builder/repos/testing-x86_64/PKGBUILD (from rev 304716, flatpak-builder/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-09-05 20:10:24 UTC (rev 304717)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak-builder
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="Tool to build flatpaks from source"
+url="http://flatpak.org"
+arch=(i686 x86_64)
+license=(LGPL2.1)
+depends=(flatpak binutils elfutils unzip tar git bzr patch rpmextract cpio appstream-glib)
+makedepends=(intltool gobject-introspection git docbook-xsl xmlto libdwarf)
+checkdepends=(python2 valgrind)
+replaces=('flatpak<0.9.10')
+_commit=bf876b2e47cc88fb47d0ad33451465e04fff20b1 # tags/0.9.9
+source=("git+https://github.com/flatpak/flatpak-builder#commit=$_commit"
+ "git+https://git.gnome.org/browse/libglnx")
+sha256sums=('SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git submodule update
+
+ # https://github.com/flatpak/flatpak/issues/267
+ sed -i '/locale\/C\./d' tests/make-test-runtime.sh
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ cd $pkgname
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib/$pkgname \
+ --disable-static \
+ --with-dwarf-header=/usr/include/libdwarf
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ # Xattr tests fail on tmpfs
+ make -k check || :
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list