blob: 6b8bad71dc813c8367d162dec47e20c9057de6f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Olivier Michaelis <michaelis.olivier [at] gmail [dot] com>
pkgname=spacectl-bin
pkgver=v1.7.0 # renovate: datasource=github-releases depName=spacelift-io/spacectl vPrefix=true
pkgrel=1
pkgdesc="Spacelift client and CLI"
arch=('x86_64' 'aarch64')
url="https://github.com/spacelift-io/spacectl"
license=('MIT')
source_x86_64=(spacectl-${pkgver}-x86_64::https://github.com/spacelift-io/spacectl/releases/download/${pkgver}/spacectl_${pkgver//v}_linux_amd64.zip)
source_aarch64=(spacectl-${pkgver}-aarch64::https://github.com/spacelift-io/spacectl/releases/download/${pkgver}/spacectl_${pkgver//v}_linux_arm64.zip)
sha256sums_x86_64=('09232586d67ed90dc1eaa7289e361277cb0be9992d85fe0a7e369892384d73c0')
sha256sums_aarch64=('6f3c8a93f02189a8e2e8b9b6b91a48a411abce99244167dba49cd93c93b85ed6')
package() {
unzip -o spacectl-${pkgver}-${arch} spacectl
install -Dm755 spacectl "$pkgdir/usr/bin/spacectl"
}
|