diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -1,7 +1,7 @@ # Maintainer: ml <> pkgname=kpt pkgver=0.37.0 -pkgrel=1 +pkgrel=2 pkgdesc='Toolkit to manage, manipulate, customize, and apply Kubernetes Resource configurations' arch=('x86_64') url='https://googlecontainertools.github.io/kpt/' @@ -13,11 +13,6 @@ install=kpt.install source=("https://github.com/GoogleContainerTools/kpt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") sha256sums=('1452b7b287749728f17040c27e5054a80ad40443725097516be5bf31c6d3bd60') -prepare() { - cd "${pkgname}-${pkgver}" - go mod download -} - build() { cd "${pkgname}-${pkgver}" export CGO_ENABLED=1 @@ -29,14 +24,6 @@ build() { go build -o "$pkgname" -ldflags=-linkmode=external } -# tests require configures Git identities -# @TODO find safe way to set Git identities without violating $HOME privacy -#check() { -# cd "${pkgname}-${pkgver}" -# # ./internal only. we don't want e2e tests -# go test -short ./internal/... -#} - package() { cd "${pkgname}-${pkgver}" install -Dm755 "$pkgname" -t "${pkgdir}/usr/bin" |