mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 07:21:40 +01:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=pebble
|
|
pkgver=2.3.1
|
|
pkgrel=0
|
|
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
|
|
"
|