aboutsummaryrefslogtreecommitdiffstats
path: root/community/folks/APKBUILD
blob: d0ffe3fba6db93b4ccbb067dad7c2e4722671ad3 (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=folks
pkgver=0.14.0
pkgrel=0
pkgdesc="GObject Library to aggregate people into metacontacts"
url="https://wiki.gnome.org/Projects/Folks"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	evolution-data-server-dev
	gobject-introspection-dev
	libgee-dev
	meson
	py3-setuptools
	telepathy-glib-dev
	tracker-dev
	vala
	python3
	py3-dbusmock
	gtk-doc
	readline-dev"
options="!check" # Can only be run against installed instance
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/folks/${pkgver%.*}/folks-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Ddocs=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="94dc025668ac34df203ea351430bf82dddb4e275d936e2b959a1b9a4cf0fff0218a4baa7d3a89c152a2cb21a94250d731c8e7470d50ac4b658fbe1448974a69e  folks-0.14.0.tar.xz"