aboutsummaryrefslogblamecommitdiffstats
path: root/community/ostree/APKBUILD
blob: 7ef4cf66c0b335a911cefecf4276ea3c08141805 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
             
        


                                                                       
                           
                                                               

                                                                    





                                                
                                                                                               

                        


                                      




                                  
         







                                       
                                  
                                  
                                  
            


           
                                      

 







                                                              
                                                                                                                                                                     
                                                                                                                                                   
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=ostree
pkgver=2020.7
pkgrel=0
pkgdesc="Operating system and container binary deployment and upgrades"
url="https://github.com/ostreedev/ostree"
arch="all"
license="LGPL-2.0-or-later"
makedepends="bison glib-dev xz-dev libarchive-dev e2fsprogs-dev
	libsoup-dev gpgme-dev fuse-dev linux-headers gtk-doc libxslt
	automake autoconf libtool"
subpackages="
	$pkgname-dev
	$pkgname-doc
	$pkgname-dbg
	$pkgname-bash-completion:bashcomp:noarch
	"
source="https://github.com/ostreedev/ostree/releases/download/v$pkgver/libostree-$pkgver.tar.xz
	musl-fixes.patch
	"
options="!check"
builddir="$srcdir/lib$pkgname-$pkgver"

prepare() {
	default_prepare
	NOCONFIGURE=1 ./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--sbindir=/usr/bin \
		--libexecdir=/usr/lib \
		--enable-gtk-doc \
		--disable-static \
		--disable-glibtest
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

bashcomp() {
	depends=""
	pkgdesc="Bash completions for $pkgname"
	install_if="$pkgname=$pkgver-r$pkgrel bash-completion"

	amove usr/share/bash-completion
}

sha512sums="f42dca3c9e1810c0421ab99588f27c625733b71ef811534b66e0c0c4afafbad5bf475e08feaf87c2f8414c38f127fd344adbb57a4b75001077aedbfe92af3706  libostree-2020.7.tar.xz
affde3a0a1c27066c2fcc30212343274de9b3856e913adc340afa4fbfb6398732c4c39dee52837459a77273015aec4e98ea61c2b5e3e884b795462485657933c  musl-fixes.patch"