# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=flatpak-builder pkgver=1.0.0 pkgrel=0 pkgdesc="Tool to build flatpaks from source" url="http://flatpak.org" arch="all !aarch64" license="LGPL-2.1" makedepends="flatpak-dev glib-dev libsoup-dev json-glib-dev elfutils-dev libdwarf-dev libcap-dev curl-dev" subpackages="$pkgname-doc" source="https://github.com/flatpak/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz musl-fixes.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --sbindir=/usr/bin \ --libexecdir=/usr/lib/$pkgname \ --disable-static \ --disable-documentation \ --with-dwarf-header=/usr/include/libdwarf make } check() { cd "$builddir" #make -k check ./flatpak-builder --version } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="d586e7e5eb82a84b0e80cd9a08d5a928bbd1eef3e8d1792f0922fb81d9d7df7179c474c133cec6b2e02e4fac21dac820e19f1f4d5b75e332b24b2d96b83f4e70 flatpak-builder-1.0.0.tar.xz 9287ed146bf71665aa436a2c2110cc5edc829a7b4a3e3190947580850fe9ecfd2bb6adb015c692af022d425fb5259390fcdcbd402e8b0d12ee5d2c1a1071ed4f musl-fixes.patch"