aboutsummaryrefslogtreecommitdiffstats
path: root/testing/acme-client/APKBUILD
blob: 595867bfcc217439dfc8b83e7e8768f8fb7b0907 (plain) (blame)
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
35
36
37
# Contributor: Jordan Christiansen <xordspar0@gmail.com>
# Maintainer: Jordan Christiansen <xordspar0@gmail.com>
pkgname=acme-client
_reponame=acme-client-portable
pkgver=1.2.0
pkgrel=0
pkgdesc="Client for issuing certificates from ACME-complaint servers"
url="https://git.sr.ht/~graywolf/acme-client-portable"
arch="all"
license="ISC"
makedepends="openssl-dev byacc automake autoconf"
subpackages="$pkgname-doc"
source="$pkgname-v$pkgver.tar.gz::https://git.sr.ht/~graywolf/$_reponame/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_reponame-v$pkgver"
options="!check" # Upstream has no tests.

prepare() {
	default_prepare
	autoreconf -fi
}

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

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

sha512sums="c4cef43bca99516296271380680181b15a3be50b15c4af7297508d5b09dd07ba03614c88cca2b944fcb8739ca0178f8f90fd2e999d349a684059e32d5d18586b  acme-client-v1.2.0.tar.gz"