aboutsummaryrefslogtreecommitdiffstats
path: root/community/gom/APKBUILD
blob: ddfb3102c0b8d08548b889f6c6b4f99025b85e82 (plain)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gom
pkgver=0.4
pkgrel=1
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
	gdk-pixbuf-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=plain \
		. 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="d847928ce09c53a3f64777c313cb843052e5e001873f29d3f7acf02772cadf0e4b133fb0137aa0463b4ff95dd54810bde87062d8e396ff4fc6d142ba59c8e9c8  gom-0.4.tar.xz"