summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5c0aa7ced00ff5f0f6e7ed0562c0021ec2886de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Sam Toxopeus <sam@toxopeus.it>
pkgname=kubectl-cnpg
pkgver=1.24.1
pkgrel=1
pkgdesc="A kubectl plugin to interact with CloudNativePG"
arch=('x86_64')
url="https://github.com/cloudnative-pg/cloudnative-pg"
license=('Apache 2.0')
groups=()
depends=('kubectl')
source=("$url/releases/download/v$pkgver/${pkgname}_${pkgver}_linux_${arch}.tar.gz")
sha256sums=('64896712523b65d3353b962b0d681c7439c62be1692ecd6d40e2121c10bac415')

package() {
    cd "$srcdir"
    tar -xzf "${pkgname}_${pkgver}_linux_x86_64.tar.gz"
    install -Dm755 "kubectl-cnpg" "$pkgdir/usr/bin/kubectl-cnpg"
}