makedeb


kubeseal-git 0.19.4.bd17299-2


A Kubernetes controller and tool for one-way encrypted Secrets

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for kubeseal-git.

# Maintainer: Youngbin Han <ybhan@ubuntu.com>
_pkgname=kubeseal
pkgname=kubeseal-git
pkgrel=2
_relver=0.19.4
pkgver=0.19.4.bd17299
pkgdesc='A Kubernetes controller and tool for one-way encrypted Secrets'
arch=('any')
# depends=()
# focal_depends=()
makedepends=('git' 'build-essential' 'golang-go')
# makedepends_x86_64=()
# checkdepends=()
# optdepends=()
focal_optdepends_x86_64=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
# replaces=()
# backup=()
# options=()
license=('Apache-2.0')
url='https://github.com/bitnami-labs/sealed-secrets'
source=("$pkgname::git+$url")

sha256sums=('SKIP')
# noextract=()

pkgver() {
  cd "$srcdir/$pkgname"
  echo "${_relver}.$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$pkgname"
    make kubeseal
}

package() {
    cd "$srcdir/$pkgname"
    mkdir -p "$pkgdir/usr/local/bin/"
    install -m 755 kubeseal "$pkgdir/usr/local/bin/kubeseal"
}

# vim: set sw=4 expandtab: