# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=libgit2-glib pkgver=0.28.0.1 pkgrel=0 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="py-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() { meson \ --prefix=/usr \ --buildtype=release \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="6ae88bb56052461a9531016140edbd8517db8d5c0e5c217b4e8918ffef70b92652e4a95493c4290112068d0b793bff2b894f136b79929924fb7347926e3a8f51 libgit2-glib-0.28.0.1.tar.xz"