diff options
author | Philip Goto | 2018-10-24 21:15:39 +0200 |
---|---|---|
committer | Philip Goto | 2018-10-24 21:15:39 +0200 |
commit | 52762254c21e2fa2d77c5e247bd2274c2ac30b10 (patch) | |
tree | e69bae1fd5ce36116a50aa0c55638170fbc1353e | |
download | aur-52762254c21e2fa2d77c5e247bd2274c2ac30b10.tar.gz |
Initialize
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..909aa73cc2d6 --- /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 000000000000..875a1d5f1496 --- /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 +} |