blob: 03c02ce5630a51148885fa7ca11d208afb8f479c (
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
|
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=jose
pkgver=11
pkgrel=2
pkgdesc="C-language implementation of Javascript Object Signing and Encryption"
url="https://github.com/latchset/jose"
license="Apache-2.0"
arch="all"
makedepends="meson zlib-dev jansson-dev openssl-dev>3 asciidoc"
subpackages="$pkgname-doc lib$pkgname:libs $pkgname-dev"
source="https://github.com/latchset/jose/releases/download/v$pkgver/jose-$pkgver.tar.xz"
build() {
abuild-meson . build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
check() {
meson test --no-rebuild --print-errorlogs -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
sha512sums="
61aa7aad85694e693f451e328e81dc7d84d4bd7662152213f1ef45fd010db7180a93d67398888fc9476ee04e4eb7dd7483cfcebc47d5773cfe04b8b5f3786006 jose-11.tar.xz
"
|