blob: f41580e7ee9aa97d31358827e3b7e0e946b08752 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=flatpak-builder
pkgver=1.0.6
pkgrel=1
pkgdesc="Tool to build flatpaks from source"
url="http://flatpak.org"
arch="all !aarch64"
license="LGPL-2.1-or-later"
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/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
musl-fixes.patch"
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
}
check() {
#make -k check
./flatpak-builder --version
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="b0a832d3220737b8572b2c47f95b61477f01e0d887b2c30e5ef910bfa80ee5c9b2129763805e72552975a23ac7d1fc965d2d84928f3ca63238929e1abcbbc439 flatpak-builder-1.0.6.tar.xz
9287ed146bf71665aa436a2c2110cc5edc829a7b4a3e3190947580850fe9ecfd2bb6adb015c692af022d425fb5259390fcdcbd402e8b0d12ee5d2c1a1071ed4f musl-fixes.patch"
|