summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17f05ab1b3e2835206a979eaf4c8b51e778c4c40 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer Cédric Bellegarde

pkgname=passbook-stable-git
pkgver=0.8.r34.g52aa824
pkgrel=1
pkgdesc='Password manager for GNOME (stable branch: last release + fixes)'
arch=(any)
url=https://gitlab.gnome.org/gnumdk/passbook
license=(GPL)
depends=(
	appstream-glib
	gtk3
	python-cairo
	python-gobject
	
)
makedepends=(
	git
	gobject-introspection
	intltool
	itstool
	meson
)
optdepends=(
	'python-pykeepass: Support for keepass files'
)

conflicts=("passbook" "passbook-git" "passbook-next-git")
provides=("passbook")
source=("git+https://gitlab.gnome.org/gnumdk/passbook")

pkgver() {
	cd "$srcdir/passbook"

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

build() {
	arch-meson passbook build \
		--libexecdir='lib/passbook'
	ninja -C build
}

package() {
	DESTDIR="${pkgdir}" ninja -C build install
}

md5sums=('SKIP')