aboutsummaryrefslogtreecommitdiffstats
path: root/community/uacme/APKBUILD
blob: 3e88fe9faebd044ffd2fd8513136a7d94b4a5248 (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.1.2
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="8d44fe0f51e79d6b0507feb520a9fefdef28fd38346051938f2c3e75164464a08797bff61711ac8802a8145ae7a6ce33edab4e91572da6ea1398f7d8fd20e144  uacme-1.1.2.tar.gz"