Added template for upcoming ci/cd pipeline
This commit is contained in:
1 parent
dab92c965d
commit
9e79663fec
2 files changed
+24
-2
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Maintainer: Jonas Dellinger <[email protected]>
|
||||
pkgname="rancher-k3d-bin"
|
||||
pkgver=$NEW_RELEASE
|
||||
pkgrel=1
|
||||
pkgdesc='Little helper to run Rancher Labs k3s in Docker'
|
||||
arch=('x86_64' 'aarch64' 'arm' 'armv6h' 'armv7h')
|
||||
url='https://github.com/rancher/k3d'
|
||||
license=('MIT')
|
||||
provides=("k3d")
|
||||
conflicts=("rancher-k3d-beta-bin")
|
||||
|
||||
case "${CARCH}" in
|
||||
x86_64) _CARCH=amd64 && $SHA256_SUMS_x86_64;;
|
||||
aarch64) _CARCH=arm64 && $SHA256_SUMS_aarch64;;
|
||||
arm*) _CARCH=arm && $SHA256_SUMS_arm;;
|
||||
esac
|
||||
|
||||
source=("${pkgname}-${pkgver}-${_CARCH}::https://github.com/rancher/k3d/releases/download/v$pkgver/k3d-linux-${_CARCH}")
|
||||
|
||||
package() {
|
||||
install -Dm 0755 ${pkgname}-${pkgver}-${_CARCH} "$pkgdir/usr/bin/k3d"
|
||||
}
|
||||
Reference in new issue
Block a user