summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f30d3f107d390210eab16728aca6d38bae41f76 (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
# Maintainer: Edgar Vincent <e-v@posteo.net>
_pkgname=caerbannog
pkgname=${_pkgname}-git
pkgver=0.1.r7.gbc3e4f4
pkgrel=1
pkgdesc="A GUI frontend for pass, particularly suited for mobile use"
arch=('x86_64' 'aarch64')
url="https://git.sr.ht/~craftyguy/caerbannog"
license=('GPL3')
depends=('pass' 'python-gpgme' 'python-gobject')
makedepends=('meson')
provides=()
replaces=()
source=('git+https://git.sr.ht/~craftyguy/caerbannog')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  # cd "$srcdir/$_pkgname"
  arch-meson $_pkgname build
}

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

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

# vim:set ts=2 sw=2 et: