APKBUILD 1.3 KB
Newer Older
A. Klitzing's avatar
A. Klitzing committed
1 2 3
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=ostree
Leo's avatar
Leo committed
4
pkgver=2019.4
5
pkgrel=0
A. Klitzing's avatar
A. Klitzing committed
6 7 8
pkgdesc="Operating system and container binary deployment and upgrades"
url="https://github.com/ostreedev/ostree"
arch="all"
prspkt's avatar
prspkt committed
9
license="LGPL-2.0-or-later"
A. Klitzing's avatar
A. Klitzing committed
10
makedepends="bison glib-dev xz-dev libarchive-dev e2fsprogs-dev
Leo's avatar
Leo committed
11 12
	libsoup-dev gpgme-dev fuse-dev linux-headers gtk-doc libxslt
	automake autoconf libtool"
13
subpackages="$pkgname-dev $pkgname-doc"
A. Klitzing's avatar
A. Klitzing committed
14
source="https://github.com/ostreedev/ostree/releases/download/v$pkgver/libostree-$pkgver.tar.xz
15 16
	musl-fixes.patch
	"
A. Klitzing's avatar
A. Klitzing committed
17 18 19
options="!check"
builddir="$srcdir/lib$pkgname-$pkgver"

Leo's avatar
Leo committed
20 21 22 23 24
prepare() {
	default_prepare
	NOCONFIGURE=1 ./autogen.sh
}

A. Klitzing's avatar
A. Klitzing committed
25 26 27 28 29 30 31 32 33
build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--sbindir=/usr/bin \
		--libexecdir=/usr/lib \
34
		--enable-gtk-doc \
A. Klitzing's avatar
A. Klitzing committed
35
		--disable-static \
36 37
		--disable-glibtest
	make
A. Klitzing's avatar
A. Klitzing committed
38 39 40
}

package() {
41
	make DESTDIR="$pkgdir" install
A. Klitzing's avatar
A. Klitzing committed
42 43
}

Leo's avatar
Leo committed
44
sha512sums="68184206ff6715526f772a607514aaee90236f53b6aee5034000f2728f852cfda1331287e26fc536122e30097999f57bfd3ddb7451564f18570f94259f5066ed  libostree-2019.4.tar.xz
Leo's avatar
Leo committed
45
affde3a0a1c27066c2fcc30212343274de9b3856e913adc340afa4fbfb6398732c4c39dee52837459a77273015aec4e98ea61c2b5e3e884b795462485657933c  musl-fixes.patch"