blob: dce5d9fd12af0e4401bec79f8818b3dff3d3f1e2 (
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
26
27
28
29
30
31
32
33
|
# This file was generated by GoReleaser. DO NOT EDIT.
pkgname='pscale-cli-bin'
pkgver=0.220.0
pkgrel=1
pkgdesc='The PlanetScale CLI'
url='https://github.com/planetscale/cli'
arch=('aarch64' 'i686' 'x86_64')
license=('Apache 2.0')
provides=('pscale')
conflicts=('pscale')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/planetscale/cli/releases/download/v0.220.0/pscale_0.220.0_linux_arm64.tar.gz")
sha256sums_aarch64=('a381faed5acc8b946ad712fa13c5cfaf3c1e0094543de4d48f6273c296ce3c94')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/planetscale/cli/releases/download/v0.220.0/pscale_0.220.0_linux_386.tar.gz")
sha256sums_i686=('e223be582f8fac321b267f54e089a48e036679d68fa7917af974b397b4cbba01')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/planetscale/cli/releases/download/v0.220.0/pscale_0.220.0_linux_amd64.tar.gz")
sha256sums_x86_64=('7d8b64f293bcb9265f3435fc19e1cd4656fb8ca9318d1dc6108047e9d612f8b2')
package() {
# bin
install -Dm755 "./pscale" "${pkgdir}/usr/bin/pscale"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
install -Dm644 "./completions/pscale.bash" "${pkgdir}/usr/share/bash-completion/completions/pscale"
install -Dm644 "./completions/pscale.zsh" "${pkgdir}/usr/share/zsh/site-functions/_pscale"
install -Dm644 "./completions/pscale.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/pscale.fish"
}
|