# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=libgit2-glib pkgver=1.2.0 pkgrel=0 pkgdesc="GObject-based wrapper for libgit2" url="https://www.gnome.org/" arch="all" options="!check" # test fails due to SIGABRT license="LGPL-2.1+" depends="" depends_dev="libgit2-dev" makedepends="$depends_dev meson ninja glib-dev gobject-introspection-dev py3-pygobject-dev vala-dev" subpackages="$pkgname-dev" source="https://download.gnome.org/sources/libgit2-glib/${pkgver%.*}/libgit2-glib-$pkgver.tar.xz" build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ . output meson compile -C output } check() { meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="37004e86c663ce5fe1bd54878b908575eb9195c1012e88e39c2efdb0b6cfa1de3d2ed9754cecc1b942d001698870025c87d95856f2a0a9f2d0dba1979b07b1f8 libgit2-glib-1.2.0.tar.xz"