blob: c076129224e9edbf97385cb7794ce075ed547f07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
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"
|