diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-08 08:06:50 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-08 16:33:30 -0800 |
commit | 5d6ea4fceee215b2b2f97069acb839a2c90dfdb3 (patch) | |
tree | 95c59df6eef4e86ca594852a8d588a2467df8029 /user | |
parent | af3789f83074ebb0af930ff8f1f3ac8ae5ccfd64 (diff) | |
download | packages-5d6ea4fceee215b2b2f97069acb839a2c90dfdb3.tar.gz packages-5d6ea4fceee215b2b2f97069acb839a2c90dfdb3.tar.bz2 packages-5d6ea4fceee215b2b2f97069acb839a2c90dfdb3.tar.xz packages-5d6ea4fceee215b2b2f97069acb839a2c90dfdb3.zip |
user/libgit2-glib: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/libgit2-glib/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libgit2-glib/APKBUILD b/user/libgit2-glib/APKBUILD new file mode 100644 index 000000000..68c2b5258 --- /dev/null +++ b/user/libgit2-glib/APKBUILD @@ -0,0 +1,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" |