# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=ostree pkgver=2017.9 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 make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="ef0e4399cfa808a88024992e3aa82e56b68c6209aa675c71a985c128a12e99e782677bf058c233b9257c9b99a1a7596711425c36fc94676e7d5de72d8d6a3585 libostree-2017.9.tar.xz 539f5020f3380e841372f80c60c71c803ccfeffb719f1b83361b75557022c61d9cd29d9cd36929426420644def9de91fd92f5dd6923352f2ae6e1dd4b676de8c musl-fixes.patch"