blob: 44e26a37e3c338db2d41962d71d638ca24042fbb (
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
|
# Maintainer: Justin Gallardo <me@jirw.in>
pkgname=xjwt
pkgver=1.0.3
pkgrel=1
pkgdesc="Minimal C library for validation of real-world JWTs"
arch=(x86_64)
url="https://github.com/ScaleFT/libxjwt"
license=('Apache')
depends=(openssl jansson)
source=("https://github.com/ScaleFT/libxjwt/releases/download/v1.0.3/libxjwt-$pkgver.tar.gz")
sha256sums=(c23488b452be920efbbafe01439269b68edca1b750c63608b005c482beb75f40)
prepare() {
cd "lib$pkgname-$pkgver"
}
build() {
cd "lib$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "lib$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|