aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gom
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-10 15:36:39 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:49:55 +0000
commitb64753527c5c2c6b219ee7441e9a3f0abaf12da0 (patch)
treec09e5016ca6994f3ee2a0f6bb019845469ee3614 /testing/gom
parentf7a18dc69bc54d22082a91263f51bf9144d37068 (diff)
downloadaports-b64753527c5c2c6b219ee7441e9a3f0abaf12da0.tar.bz2
aports-b64753527c5c2c6b219ee7441e9a3f0abaf12da0.tar.xz
testing/gom: new aport
Diffstat (limited to 'testing/gom')
-rw-r--r--testing/gom/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/gom/APKBUILD b/testing/gom/APKBUILD
new file mode 100644
index 0000000000..3a5c5e50b9
--- /dev/null
+++ b/testing/gom/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gom
+pkgver=0.3.3
+pkgrel=0
+pkgdesc="GObject Data Mapper"
+url="https://wiki.gnome.org/Projects/Gom"
+arch="all"
+license="LGPL-2.1-or-later"
+makedepends="meson vala gobject-introspection-dev py3-gobject3 sqlite-dev glib-dev"
+subpackages="$pkgname-dev"
+source="https://download.gnome.org/sources/gom/${pkgver%.*}/gom-${pkgver}.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ # gom-stress tests takes a LOOOONG time
+ meson test -C output -t 10
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="152924e704c92f39c493a8becc73fac1f7fe396f4f9e7c154dccec2b4413476821e43abf3c108cc1304de471e61f56c265f124710379ad8568b68f8902064e03 gom-0.3.3.tar.xz"