aboutsummaryrefslogtreecommitdiffstats
path: root/community/uacme/APKBUILD
blob: 5cff3fd0576a9a631b0a0557dd514f6de5a672e1 (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
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=uacme
pkgver=1.3
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

	install -d "$pkgdir"/var/www/.well-known/acme-challenge
}

sha512sums="0abc89bec514fc6c816b331851e4df49fde16d8d6b04f14320921cfeae6e6a7b81a0654a4213edbf0329a0f6264b209269df7cb9daf1f222c6cf935b6d1ce1e2  uacme-1.3.tar.gz"