sbcl 2.1.11 rebuild
[arch-packages.git] / flatpak-builder / repos / extra-x86_64 / PKGBUILD
blob5157711275062d1782ad74ebf261121d74803f70
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=flatpak-builder
4 pkgver=1.2.0
5 pkgrel=1
6 pkgdesc="Tool to build flatpaks from source"
7 url="https://flatpak.org"
8 arch=(x86_64)
9 license=(LGPL)
10 depends=(flatpak binutils elfutils unzip tar git bzr patch rpmextract cpio appstream-glib)
11 makedepends=(intltool gobject-introspection git docbook-xsl xmlto libdwarf)
12 checkdepends=(valgrind)
13 replaces=('flatpak<0.9.10')
14 _commit=ade6de21f7379886460b683810628a0a441be924  # tags/1.2.0^0
15 source=("git+https://github.com/flatpak/flatpak-builder#commit=$_commit"
16         "git+https://gitlab.gnome.org/GNOME/libglnx.git"
17         "git+https://sourceware.org/git/debugedit.git")
18 sha256sums=('SKIP'
19             'SKIP'
20             'SKIP')
22 prepare() {
23   cd $pkgname
25   git submodule init
26   git submodule set-url libglnx "$srcdir/libglnx"
27   git submodule set-url debugedit "$srcdir/debugedit"
28   git submodule update
30   # https://github.com/flatpak/flatpak/issues/267
31   sed -i '/locale\/C\./d' tests/make-test-runtime.sh
33   NOCONFIGURE=1 ./autogen.sh
36 pkgver() {
37   cd $pkgname
38   git describe --tags | sed 's/-/+/g'
41 build() {
42   cd $pkgname
44   ./configure \
45     --prefix=/usr \
46     --sysconfdir=/etc \
47     --localstatedir=/var \
48     --sbindir=/usr/bin \
49     --libexecdir=/usr/lib \
50     --disable-static \
51     --with-dwarf-header=/usr/include/libdwarf
53   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
55   make
58 check() {
59   cd $pkgname
60   make -k check
63 package() {
64   cd $pkgname
65   make DESTDIR="$pkgdir" install