aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-24 01:18:53 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-07 05:43:59 -0300
commitc4b6509013e3e34226c19b09bddcb67048a5410a (patch)
tree3a54e53bcdfb00fe6f5458d448180cdd8f27f755
parent232feb50a22056aa29d5d20f37f676535d2ad437 (diff)
downloadaports-c4b6509013e3e34226c19b09bddcb67048a5410a.tar.bz2
aports-c4b6509013e3e34226c19b09bddcb67048a5410a.tar.xz
testing/libgit2-glib: new aport
-rw-r--r--testing/libgit2-glib/APKBUILD32
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"