diff options
Diffstat (limited to 'testing/libgit2-glib/APKBUILD')
-rw-r--r-- | testing/libgit2-glib/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libgit2-glib/APKBUILD b/testing/libgit2-glib/APKBUILD new file mode 100644 index 0000000000..c076129224 --- /dev/null +++ b/testing/libgit2-glib/APKBUILD @@ -0,0 +1,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" |