feat: Add etcdhelper

This commit is contained in:
Stefan Reimer 2022-05-13 18:05:47 +02:00
parent 2bd7e9ec9e
commit 01230af838

26
v3.15/etcdhelper/APKBUILD Normal file
View File

@ -0,0 +1,26 @@
# Contributor: Stefan Reimer <stefan@zero-downtime.net>
# Maintainer: Stefan Reimer <stefan@zero-downtime.net>
pkgname=etcdhelper
pkgver=0.1.0
pkgrel=0
pkgdesc="etcdhelper tool to edit and inspect etcd data"
url="https://git.zero-downtime.net/ZeroDownTime/etcdhelper"
arch="x86_64 aarch64"
license="AGPL-3.0"
makedepends="go bash"
options="!check chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://git.zero-downtime.net/ZeroDownTime/etcdhelper/archive/"$pkgver".tar.gz"
builddir="$srcdir/etcdhelper"
build() {
make
}
package() {
install -Dm755 build/etcdhelper "$pkgdir"/usr/bin/etcdhelper
}
sha512sums="
97abd4e5a0078112a048037512b041bcefb9e660131403e9c87bf5fc8b632eb17ab66d20a477a2ef4808f54ae29941d74bd61390143e5781058d7bbd4333dd78 etcdhelper-0.1.0.tar.gz
"