blob: 30b6acf1f34ac31667f94fa3529f149641d99078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Author: XiLENCE <admin@linux-scout.de>
pkgname=kubedecode-git
_pkgname=kubedecode
pkgver=r16.3a13928
pkgrel=1
pkgdesc="Kubedecode decodes all parts of a Kubernetes secret, no more copypasting!"
arch=('any')
url="https://github.com/mschmidt291/kubedecode"
license=('MIT')
depends=('kubectl')
makedepends=('git')
provides=('kubedecode')
conflicts=('kubedecode')
source=("${pkgname%-*}::git+https://github.com/mschmidt291/kubedecode.git")
sha1sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
install -Dm755 "bin/kubedecode" "${pkgdir}/usr/bin/kubedecode"
}
|