blob: 68c2b5258b574316cd5ad48bfc54ceeb2137a6b7 (
plain) (
blame)
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
33
34
35
36
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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"
|