summaryrefslogtreecommitdiff
path: root/testing/pinentry-bemenu/APKBUILD
blob: f011d00d0906372d752eb65badd119148bbcc0ca (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: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=pinentry-bemenu
pkgver=0.11.0
pkgrel=0
pkgdesc="Pinentry based on bemenu"
url="https://github.com/t-8ch/pinentry-bemenu"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	bemenu-dev
	libassuan-dev
	libgpg-error-dev
	meson
	popt-dev
	samurai
	"
source="https://github.com/t-8ch/pinentry-bemenu/archive/v$pkgver/pinentry-bemenu-$pkgver.tar.gz
	meson-ungit.patch
	"

build() {
	echo "$pkgver" > VERSION
	abuild-meson . output
	meson compile -j ${JOBS:-0} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
3c35733b52d1b096904585ee0f37b0a2c7390158a94b2f13fe387fd738c004a2f1f474e3ca66d35f364ad057dc6b4520700d2a71f4d1c431bb428b6de513313a  pinentry-bemenu-0.11.0.tar.gz
45e542b6feef5d8b61b84a93572f04bb3ec8d972eb820b9fef5f04a67e0e44adb252eeb6cbcd53b3942006f3bb2179d894050b1640f6cf4607cd912c26c934dc  meson-ungit.patch
"