blob: ef5842ae04bc0ecea982ff7a6a528270af9447b8 (
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: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=pebble
pkgver=2.3.1
pkgrel=9
pkgdesc="small RFC 8555 ACME test server not for a production certificate authority"
url="https://github.com/letsencrypt/pebble"
# riscv64 blocked by syscall dependency
arch="all !riscv64"
license="MPL-2.0"
options="!check net" # no testsuite, needs to download dependencies
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/letsencrypt/pebble/archive/refs/tags/v$pkgver.tar.gz"
build() {
export GOPATH="$builddir"/build
cd cmd/pebble
go install
cd ../pebble-challtestsrv
go install
}
package() {
install -Dm 755 "$builddir"/build/bin/pebble \
"$pkgdir"/usr/bin/pebble
install -Dm 755 "$builddir"/build/bin/pebble-challtestsrv \
"$pkgdir"/usr/bin/pebble-challtestsrv
# allow go pkg to be deleted
chmod 664 -R build/pkg/.*
}
sha512sums="
0b7552f195ad8fe2d85dc5688a4bbd858fa83605ae924167fdabb6e298feac92f267031919b17eae900e017b9f17ba4c91f225bb7c7c4640aa59d15449fced14 pebble-2.3.1.tar.gz
"
|