Package Details: skaffold-git 2.13.2-1

Git Clone URL: https://aur.archlinux.org/skaffold-git.git (read-only, click to copy)
Package Base: skaffold-git
Description: A command line tool that facilitates continuous development for Kubernetes applications
Upstream URL: https://github.com/GoogleContainerTools/skaffold
Keywords: containers developer-tools docker go kubernetes skaffold
Licenses: Apache-2.0
Conflicts: skaffold
Provides: skaffold
Submitter: jyny
Maintainer: jyny
Last Packager: jyny
Votes: 1
Popularity: 0.001818
First Submitted: 2021-04-21 18:27 (UTC)
Last Updated: 2024-10-03 15:53 (UTC)

Required by (0)

Sources (1)

Pinned Comments

jyny commented on 2021-06-01 01:42 (UTC)

This will update if Official skaffold[1] is out of date.

[1] https://archlinux.org/packages/community/x86_64/skaffold

Latest Comments

jyny commented on 2022-06-12 15:54 (UTC)

update log:

  • upgpkg: skaffold 1.38.0-1
  • fix go-licenses: No such file or directory 1.37.2-1

luntik2012 commented on 2022-05-06 10:56 (UTC)

hack/generate-statik.sh: line 44: /home/ololo/.cache/yay/skaffold-git/src/gopath/src/github.com/GoogleContainerTools/skaffold/hack/bin/go-licenses: No such file or directory
make: *** [Makefile:307: cmd/skaffold/app/cmd/statik/statik.go] Error 127
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: skaffold-git

ercling commented on 2021-12-06 10:15 (UTC)

PKGBUILD for v1.35.0

# Maintainer Christian Rebischke <chris.rebischke@archlinux.org>
# Maintainer: Fredy García <frealgagu at gmail dot com>
# Maintainer: Maxim Baz <${reponame} at maximbaz dot com>
# Contributor: Stefan Cocora <stefan dot cocora at gmail dot com>
# Maintainer: Jerry Y. Chen <chen@jyny.dev>

pkgname=skaffold-git
reponame=skaffold
provides=('skaffold')
conflicts=('skaffold')
pkgver=1.35.0
pkgrel=1
pkgdesc="A command line tool that facilitates continuous development for Kubernetes applications"
arch=("x86_64")
url="https://github.com/GoogleContainerTools/${reponame}"
license=("Apache")
depends=("docker")
makedepends=("go")
optdepends=(
  "minikube: To use Minikube"
  "kubectl: For Kubernetes support"
  "bash-completion: Tab autocompletion"
)
source=(
  "${reponame}-${pkgver}.tar.gz::https://github.com/GoogleContainerTools/${reponame}/archive/v${pkgver}.tar.gz"
)
sha256sums=('0ce75ba329f027c9075cfddddd8a96ca08523c772733f999e236a7913b59ea14')
_commit="e9c900fe353d50a536de042eca844e9ca4ed2ac7"

prepare() {
  cd "${srcdir}/${reponame}-${pkgver}"

  rm -rf "${srcdir}/gopath"
  mkdir -p "${srcdir}/gopath/bin"
  mkdir -p "${srcdir}/gopath/src/github.com/GoogleContainerTools"
  ln -rTsf "${srcdir}/${reponame}-${pkgver}" "${srcdir}/gopath/src/github.com/GoogleContainerTools/${reponame}"
}

build() {
  cd "${srcdir}/gopath/src/github.com/GoogleContainerTools/${reponame}"
  export GOPATH="${srcdir}/gopath"
  export PATH="${PATH}:${GOPATH}/bin"
  export VERSION="v${pkgver}"
  export COMMIT="${_commit}"
  export TREE_STATE="clean"
  export CGO_CPPFLAGS="${CPPFLAGS}"
  export CGO_CFLAGS="${CFLAGS}"
  export CGO_CXXFLAGS="${CXXFLAGS}"
  export CGO_LDFLAGS="${LDFLAGS}"
  export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw -x -v -ldflags=-linkmode=external"
  make install

  # To avoid issues deleting directories next time
  go clean --modcache

  # Create completion files
  "${srcdir}/gopath/bin/${reponame}" completion bash > "${srcdir}/${reponame}-completion.bash"
  "${srcdir}/gopath/bin/${reponame}" completion zsh > "${srcdir}/${reponame}-completion.zsh"
}

package() {
  install -Dm755 "${srcdir}/gopath/bin/${reponame}" "${pkgdir}/usr/bin/${reponame}"
  install -Dm644 "${srcdir}/${reponame}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/${reponame}"
  install -Dm644 "${srcdir}/${reponame}-completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_skaffold"
}

jyny commented on 2021-06-01 01:42 (UTC)

This will update if Official skaffold[1] is out of date.

[1] https://archlinux.org/packages/community/x86_64/skaffold

jyny commented on 2021-04-28 13:13 (UTC) (edited on 2021-06-01 01:42 (UTC) by jyny)

This is fork from Official skaffold 1.20.0-1 https://archlinux.org/packages/community/x86_64/skaffold

Skaffold on official repository is flagged as out-of-date since 2021-03-19. This whay I duplicate it.

If any further question, add comment above. Thanks!