1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=flatpak-builder
6 pkgdesc="Tool to build flatpaks from source"
7 url="https://flatpak.org"
10 depends=(flatpak binutils elfutils unzip tar git bzr patch rpmextract cpio
12 makedepends=(gobject-introspection git docbook-xsl xmlto)
13 checkdepends=(valgrind)
14 replaces=('flatpak<0.9.10')
15 _commit=d7dbc51267e83242a9fe0d5a7b5304db0ac72f4f # tags/1.2.3
17 "git+https://github.com/flatpak/flatpak-builder#commit=$_commit"
18 "git+https://gitlab.gnome.org/GNOME/libglnx.git"
19 "git+https://sourceware.org/git/debugedit.git"
25 '984ea70ac2c5794c758523aba9c1f643dc21fb01db4ed962987935a454d521a7')
29 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
35 # https://bugs.archlinux.org/task/75649
36 git apply -3 ../fusermount3.diff
39 git submodule set-url libglnx "$srcdir/libglnx"
40 git submodule set-url debugedit "$srcdir/debugedit"
41 git -c protocol.file.allow=always submodule update
43 NOCONFIGURE=1 ./autogen.sh
52 --localstatedir=/var \
54 --libexecdir=/usr/lib \
57 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
69 make DESTDIR="$pkgdir" install
72 # vim:set sw=2 sts=-1 et: