diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-11-04 10:51:53 +0100 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-11-17 10:53:58 +0100 |
commit | 8aec77df24852643a3929d722750b9d7c172ab6a (patch) | |
tree | 6f0f89b0bf80db32e7af15a9e9608e942a00afb2 /community | |
parent | 0b09da76ef422f95195cd9172134152a52acdbbf (diff) | |
download | aports-8aec77df24852643a3929d722750b9d7c172ab6a.tar.bz2 aports-8aec77df24852643a3929d722750b9d7c172ab6a.tar.xz |
community/flatpak-builder: add missing runtime deps and enable fuse kernel module
Diffstat (limited to 'community')
-rw-r--r-- | community/flatpak-builder/APKBUILD | 17 | ||||
-rw-r--r-- | community/flatpak-builder/flatpak-builder.post-install | 5 | ||||
-rw-r--r-- | community/flatpak-builder/modules-load.conf | 1 |
3 files changed, 18 insertions, 5 deletions
diff --git a/community/flatpak-builder/APKBUILD b/community/flatpak-builder/APKBUILD index f44ecee71a..be201762f7 100644 --- a/community/flatpak-builder/APKBUILD +++ b/community/flatpak-builder/APKBUILD @@ -2,18 +2,21 @@ # Maintainer: André Klitzing <aklitzing@gmail.com> pkgname=flatpak-builder pkgver=1.0.9 -pkgrel=0 +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" + elfutils-dev libdwarf-dev libcap-dev curl-dev + yaml-dev libxslt docbook-xsl docbook-xml xmlto" subpackages="$pkgname-doc" -source="https://github.com/flatpak/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz - musl-fixes.patch" +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 \ @@ -31,7 +34,11 @@ build() { 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" diff --git a/community/flatpak-builder/flatpak-builder.post-install b/community/flatpak-builder/flatpak-builder.post-install new file mode 100644 index 0000000000..62c42f3a99 --- /dev/null +++ b/community/flatpak-builder/flatpak-builder.post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +modprobe fuse + +exit 0 diff --git a/community/flatpak-builder/modules-load.conf b/community/flatpak-builder/modules-load.conf new file mode 100644 index 0000000000..a517c488f3 --- /dev/null +++ b/community/flatpak-builder/modules-load.conf @@ -0,0 +1 @@ +fuse |