aboutsummaryrefslogtreecommitdiffstats
path: root/testing/calls/APKBUILD
blob: 9b3915595e88fe877a78eb85644a97b08cae72ea (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=calls
pkgver=0.1.1
pkgrel=0
pkgdesc="A phone dialer and call handler"
arch="all !s390x" # Blocked by libhandy
url="https://gitlab.gnome.org/Community/Purism/calls"
license="GPL-3.0-or-later"
depends="modemmanager"
makedepends="meson ninja vala gettext-dev gobject-introspection-dev gtk+3.0-dev libhandy-dev gsound-dev libpeas-dev modemmanager-dev gom-dev evolution-data-server-dev folks-dev"
source="https://source.puri.sm/Librem5/calls/-/archive/v$pkgver/calls-v$pkgver.tar.gz"
options="!check" # Requires running Wayland compositor
builddir="$srcdir/$pkgname-v$pkgver"

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

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="129611bd6d7ba44c1d7fbc06df426fba50450d18fdd246d9d9156472a9976213ee51e8ea43715c44d20dc7ce462f95c905df433343c677b00602fd017bfde793  calls-v0.1.1.tar.gz"