# Contributor: André Klitzing # Maintainer: André Klitzing setglobal pkgname = 'ostree' setglobal pkgver = '2017.12' setglobal pkgrel = '0' setglobal pkgdesc = '"Operating system and container binary deployment and upgrades'" setglobal url = '"https://github.com/ostreedev/ostree'" setglobal arch = '"all'" setglobal license = '"GPL'" setglobal makedepends = '"bison glib-dev xz-dev libarchive-dev e2fsprogs-dev libsoup-dev gpgme-dev fuse-dev linux-headers'" setglobal subpackages = ""$pkgname-dev $pkgname-doc"" setglobal source = ""https://github.com/ostreedev/ostree/releases/download/v$pkgver/libostree-$pkgver.tar.xz musl-fixes.patch "" setglobal options = '"!check'" setglobal builddir = ""$srcdir/lib$pkgname-$pkgver"" proc 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 } proc package { cd $builddir make DESTDIR="$pkgdir" install install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } setglobal sha512sums = '"03b1da0165dfa9a037f96bedf60d536b5da42cf32387e62d92209f504cdc622a03e9a4960a5e7814ad636adaaf88f161209d28fe69180ac4aae8f55dafa305bc libostree-2017.12.tar.xz 539f5020f3380e841372f80c60c71c803ccfeffb719f1b83361b75557022c61d9cd29d9cd36929426420644def9de91fd92f5dd6923352f2ae6e1dd4b676de8c musl-fixes.patch'"