aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ostree/APKBUILD
blob: 573c5c7a8488d08dfa7d6d75f926783d99dab1d3 (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
42
43
44
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=ostree
pkgver=2017.5
pkgrel=0
pkgdesc="Operating system and container binary deployment and upgrades"
url="https://github.com/ostreedev/ostree"
arch="all"
license="GPL"
makedepends="bison glib-dev xz-dev libarchive-dev e2fsprogs-dev
             libsoup-dev gpgme-dev fuse-dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/ostreedev/ostree/releases/download/v$pkgver/libostree-$pkgver.tar.xz
		musl-fixes.patch
		"
options="!check"
builddir="$srcdir/lib$pkgname-$pkgver"

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--sbindir=/usr/bin \
		--libexecdir=/usr/lib \
		--disable-static \
		--disable-glibtest \
		|| return 1

	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="e05d6c186fdf946c811df00e5ce4ebd4117fdbbc8fe044c8c3c00e2f13bbdcfc6898f650d99fc7265b311303d940b72c9aed8f4622ef34d871643102911db438  libostree-2017.5.tar.xz
539f5020f3380e841372f80c60c71c803ccfeffb719f1b83361b75557022c61d9cd29d9cd36929426420644def9de91fd92f5dd6923352f2ae6e1dd4b676de8c  musl-fixes.patch"