aboutsummaryrefslogtreecommitdiffstats
path: root/community/uacme/APKBUILD
blob: f05749a98dd21180d80375ec22f246ff52a0591f (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
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=uacme
pkgver=1.0.12
pkgrel=0
pkgdesc="Lightweight client for the RFC8555 ACMEv2 protocol"
url="https://github.com/ndilieto/uacme"
arch="all"
license="GPL-3.0-or-later ISC MIT"
makedepends="openssl-dev curl-dev asciidoc"
subpackages="$pkgname-doc"
options="!check"  # no test suite
source="uacme-$pkgver.tar.gz::https://github.com/ndilieto/uacme/archive/v$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-maintainer-mode \
		--with-openssl
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="10ea38a23d2e728655a9a626f7167e6795f13d5904f47a0feb0a19bea1280fd47aec8d6a6098686748899a8f0bdf79e82e18e6a8314f8793b30acf00a9f72af3  uacme-1.0.12.tar.gz"