aboutsummaryrefslogtreecommitdiffstats
path: root/community/folks/APKBUILD
blob: bf2df1bfc41fc72019d05eea7a1bbde0a058e90f (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
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.13.2
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=debugoptimized \
		-Ddocs=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="a6d5febd492a482fe7923668a694864eb0203a9841b810bb7d5d69e491f3721505f9c717de38b4a9a44604b6a3373d5a482cd254959ed95ab23b55775022d707  folks-0.13.2.tar.xz"