aboutsummaryrefslogtreecommitdiffstats
path: root/community/chatty/APKBUILD
blob: c42f297d78a16afb5d5fbfb2d56252b719fde52d (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
35
36
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=chatty
pkgver=0.1.10
pkgrel=1
pkgdesc="A phone dialer and call handler"
arch="all !s390x !mips !mips64" # Blocked by libhandy and evolution
url="https://gitlab.gnome.org/Community/Purism/chatty"
license="GPL-3.0-or-later"
depends="libpurple-xmpp purple-mm-sms cyrus-sasl-plain"
makedepends="meson ninja gtk+3.0-dev pidgin-dev libhandy-dev evolution-dev
	libgee-dev folks-dev feedbackd-dev"
checkdepends="appstream-glib desktop-file-utils"
source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/chatty/-/archive/v$pkgver/chatty-v$pkgver.tar.gz"
subpackages="$pkgname-lang"
builddir="$srcdir/$pkgname-v$pkgver"

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

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="98c4a26b66ee4020063059985f1cf17a65fdf6dbc2400ee33c887f9cd05216a14130cc26fe83321692824bdc3f3d2f7b1f055621e4616451cb96f40872e6dc89  chatty-0.1.10.tar.gz"