Skip to content
Snippets Groups Projects
Commit 5d92a9f0 authored by Hoang Nguyen's avatar Hoang Nguyen :turtle: Committed by alice
Browse files

testing/teller: new aport

parent 162dd101
No related branches found
No related tags found
1 merge request!45337testing/teller: new aport
Pipeline #157494 skipped
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=teller
pkgver=1.5.6
pkgrel=0
pkgdesc="Cloud native secrets management for developers"
url="https://tlr.dev/"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/tellerops/teller/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
local _goldflags="
-X main.version=$pkgver
-X main.commit=AlpineLinux
-X main.date=$(date -u "+%Y-%m-%dT%H:%M:%SZ" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH})
"
go build -v -ldflags "$_goldflags"
}
check() {
# try to access pkg/providers/mock_providers/keypass.kdbx
GOFLAGS="${GOFLAGS/-trimpath/}" go test ./pkg/...
}
package() {
install -Dm755 teller -t "$pkgdir"/usr/bin/
}
sha512sums="
3323f74b90e561cc17d5f678028583af8fbe79f434f78039b27656923cebf26226436b5d6ff2753e5506044e86664d1414adbc8c9e200e3ddbd83bbf30607712 teller-1.5.6.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment