summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 26b58a8f2ee22ff1cb7debdd6d5af126a9733851 (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
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=calls-git
pkgver=43.alpha.0.r1.ga2b08b6
pkgrel=1
pkgdesc='Phone dialer and call handler'
arch=(x86_64 aarch64)
url='https://gitlab.gnome.org/GNOME/calls'
license=(GPL3)
depends=(
	callaudiod
	feedbackd
	folks
	gom
	libhandy
	libpeas
	modemmanager
	sofia-sip
)
makedepends=(
    git
	gobject-introspection
	meson
	vala
)
provides=(calls)
conflicts=(calls)
source=("git+${url}.git")
b2sums=(SKIP)

pkgver() {
	cd calls
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	arch-meson calls build -D tests=false
	meson compile -C build
}

check() {
	meson test -C build --print-errorlogs
}

package() {
	DESTDIR="${pkgdir}" meson install -C build
}