summaryrefslogtreecommitdiff
path: root/community/folks/APKBUILD
blob: e1fd5d13f137c4d527d8028b8a25a35803756b79 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=folks
pkgver=0.15.5
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
	gtk-doc
	libgee-dev
	meson
	py3-dbusmock
	py3-setuptools
	python3
	readline-dev
	telepathy-glib-dev
	tracker-dev
	vala
	"
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() {
	abuild-meson \
		-Ddocs=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
696d158234cc5b4c504491c6e01dc45ed53c4ac02e3e62e637d229207dde396a82a850d143d8615dc838d99c756edfce145405ea3972c556951d6408fb8487ea  folks-0.15.5.tar.xz
"