# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=flatpak-builder pkgver=1.0.9 pkgrel=1 pkgdesc="Tool to build flatpaks from source" options="!check" # Testsuite fails on tests that require FUSE url="https://flatpak.org" arch="all" license="LGPL-2.1-or-later" depends="flatpak git" makedepends="flatpak-dev glib-dev libsoup-dev json-glib-dev elfutils-dev libdwarf-dev libcap-dev curl-dev yaml-dev libxslt docbook-xsl docbook-xml xmlto" subpackages="$pkgname-doc" source="https://github.com/flatpak/flatpak-builder/releases/download/$pkgver/flatpak-builder-$pkgver.tar.xz modules-load.conf musl-fixes.patch" install="$pkgname.post-install" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --sbindir=/usr/bin \ --libexecdir=/usr/lib/$pkgname \ --disable-static \ --with-dwarf-header=/usr/include/libdwarf make } package() { make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/etc/modules-load.d install -m644 "$srcdir"/modules-load.conf "$pkgdir"/etc/modules-load.d/flatpak-builder.conf } sha512sums="df420e1b5c556413c9f80318b98c5a628531e0e18aed5ac935b7d48adcfab7276e70ed7d65c1ff51c178a0090e581d35a9ab750e5fd446aa834a1e52b1519df8 flatpak-builder-1.0.9.tar.xz 57d23d2778556eafc3035e6be575bf95b4032f123b35f2b1657eff5e7496de253173edc657f90531ee58e25673f4f27a5cd1cc76b14a038edb244f104a231771 modules-load.conf 9287ed146bf71665aa436a2c2110cc5edc829a7b4a3e3190947580850fe9ecfd2bb6adb015c692af022d425fb5259390fcdcbd402e8b0d12ee5d2c1a1071ed4f musl-fixes.patch"