summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-10-24 21:15:39 +0200
committerPhilip Goto2018-10-24 21:15:39 +0200
commit52762254c21e2fa2d77c5e247bd2274c2ac30b10 (patch)
treee69bae1fd5ce36116a50aa0c55638170fbc1353e
downloadaur-52762254c21e2fa2d77c5e247bd2274c2ac30b10.tar.gz
Initialize
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD32
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..909aa73cc2d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = calls-git
+ pkgdesc = A phone dialer and call handler.
+ pkgver = r128.07cc15c
+ pkgrel = 1
+ url = https://source.puri.sm/Librem5/calls
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ license = GPL3
+ depends = libhandy
+ depends = libmm-glib
+ depends = modemmanager
+ provides = calls
+ conflicts = calls
+ source = git+https://source.puri.sm/Librem5/calls.git
+ md5sums = SKIP
+
+pkgname = calls-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..875a1d5f149
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Philip Goto <philip.goto@gmail.com>
+
+pkgname=calls-git
+pkgver=r128.07cc15c
+pkgrel=1
+pkgdesc="A phone dialer and call handler."
+arch=(i686 x86_64 armv6h armv7h)
+url="https://source.puri.sm/Librem5/calls"
+license=(GPL3)
+depends=(libhandy
+ libmm-glib
+ modemmanager)
+makedepends=()
+provides=(calls)
+conflicts=(calls)
+source=("git+https://source.puri.sm/Librem5/calls.git")
+md5sums=(SKIP)
+
+pkgver() {
+ cd calls
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ rm -rf build
+ arch-meson calls build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir/" ninja -C build install
+}