aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-authenticator/APKBUILD
blob: 58e2f5c6520e34825b678dd0690d01e8db15dbde (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-authenticator
pkgver=3.32.2
pkgrel=3
pkgdesc="A Two-Factor Authentication application"
url="https://gitlab.gnome.org/World/Authenticator"
arch="all !s390x" # missing libhandy on s390x
license="GPL-3.0-only"
depends="python3 py3-otp py3-beautifulsoup4 py3-pillow py3-pyfavicon py3-pyzbar
	py3-yoyo-migrations libhandy"
makedepends="meson gtk+3.0-dev libsecret-dev zbar-dev gobject-introspection-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/Authenticator/-/archive/$pkgver/Authenticator-$pkgver.tar.gz
	dont-require-py3-gettext-support.patch"
builddir="$srcdir/Authenticator-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="3bd78354f4d18052d03650b455f07fb7fa9bb5cba0b6c92dcbfb5158dcf500f0b7f84e0be8942e0fbb74b1cefcd9019941c758538e05144c469bbe47b4355ce0  Authenticator-3.32.2.tar.gz
6f257b478bc581e7777e83c16bffe6a42b6af7478892566835c67e22fc4ace0fa77ba2f3c3006ab34d38a49f16e673c4a2b17bac307c15ae430270a5256fb70f  dont-require-py3-gettext-support.patch"