summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a86b01435ec4c8fa15e26a7e3642ae9e7ad3270 (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
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=passbook-git
pkgver=0.8.r36.g750825d
pkgrel=1
pkgdesc="Password manager for GNOME"
arch=('any')
url="https://wiki.gnome.org/Apps/Passbook"
license=('GPL-3.0-or-later')
depends=('gtk3' 'python-cairo' 'python-gobject')
makedepends=('git' 'gobject-introspection' 'meson')
checkdepends=('appstream-glib')
optdepends=('python-pykeepass: Support for keepass files')
provides=('passbook')
conflicts=('passbook')
source=('git+https://gitlab.gnome.org/gnumdk/passbook.git')
sha256sums=('SKIP')

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

build() {
  arch-meson passbook build
  meson compile -C build
}

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

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