aboutsummaryrefslogblamecommitdiffstats
path: root/community/libgit2-glib/APKBUILD
blob: 270935212f1333c52bb4454f9968982d4c949d4d (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                               
               
        




                                                  
                                                                                        




                                                                                                   

                                                   


         
                                            


           
                                                              

 
                                                                                                                                                                           
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgit2-glib
pkgver=0.99.0.1
pkgrel=2
pkgdesc="Glib wrapper library around libgit2"
url="https://wiki.gnome.org/Projects/Libgit2-glib"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="libgit2-dev"
makedepends="py3-gobject3-dev vala gobject-introspection-dev gtk-doc meson $depends_dev"
options="!check" # UTF-8 checks fail in some environments
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libgit2-glib/${pkgver%.*.*}/libgit2-glib-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="48b34ba84b5315d23d0429a684753c3a64c62086d70a67fdb4dfbf8f2ee883f5a90d7e59cfcfd229682794c455b668eb9bd7bf6159d6bfa45a99ddc2461d7c25  libgit2-glib-0.99.0.1.tar.xz"