aboutsummaryrefslogtreecommitdiffstats
path: root/community/folks/APKBUILD
blob: 39587a3955cf2a7cc1f5cbc0b5009dbc4eb8c60a (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.1
pkgrel=1
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
	readline-dev"
options="!check" # Can only be run against installed instance
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/folks/${pkgver%.*}/folks-$pkgver.tar.xz
	78b24b8cb01e27e352de2aca93934833bcb412b8.patch"

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

check() {
	ninja -C output test
}

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

sha512sums="b134172077bed1655cd7f24b1402ed347d405b22114c33d6638040a5e475632ea33cde898a08fc143eaefc7057d4b6dccceac7e797e1976fdf88c58764818afe  folks-0.13.1.tar.xz
fefda76211b459c0a3ca3a6760eee053884b1d2adf225d7c05334175bf74c56509e74c7876d1a02ee1f53c86671ddf1eb1850ac937cb29ae706a391490f520c6  78b24b8cb01e27e352de2aca93934833bcb412b8.patch"