aboutsummaryrefslogtreecommitdiffstats
path: root/testing/calls/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-01-03 23:45:31 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-04 02:18:37 +0100
commitb2fa77920f756ce0b412f1141dafe4ea774d2bc9 (patch)
treefed29a4a31058fd292d436e526e9ea95a9e9ca5e /testing/calls/APKBUILD
parent9da2ccb678ac805a84f57c2e4878264b5aa87143 (diff)
downloadaports-b2fa77920f756ce0b412f1141dafe4ea774d2bc9.tar.gz
aports-b2fa77920f756ce0b412f1141dafe4ea774d2bc9.tar.bz2
aports-b2fa77920f756ce0b412f1141dafe4ea774d2bc9.tar.xz
testing/calls: new aport
Diffstat (limited to 'testing/calls/APKBUILD')
-rw-r--r--testing/calls/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/calls/APKBUILD b/testing/calls/APKBUILD
new file mode 100644
index 0000000000..5e9157e220
--- /dev/null
+++ b/testing/calls/APKBUILD
@@ -0,0 +1,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 test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja install -C output
+}
+sha512sums="129611bd6d7ba44c1d7fbc06df426fba50450d18fdd246d9d9156472a9976213ee51e8ea43715c44d20dc7ce462f95c905df433343c677b00602fd017bfde793 calls-v0.1.1.tar.gz"