blob: 1743fdc453b19305591bfe851927f2ce56e0ab91 (
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.211.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.211.0/pscale_0.211.0_linux_arm64.tar.gz")
sha256sums_aarch64=('d122d80cb6dc5d5224273d5baa17278953af38dab4aff9371eb6fd2fcb78d7d5')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/planetscale/cli/releases/download/v0.211.0/pscale_0.211.0_linux_386.tar.gz")
sha256sums_i686=('e4b181ccd47ccbde5b24b910cd1b9082ab53a97dfd3f6e5e2d489341145e3aa7')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/planetscale/cli/releases/download/v0.211.0/pscale_0.211.0_linux_amd64.tar.gz")
sha256sums_x86_64=('2f29e9e2905307ae6cf2dcd0c5f103accaef1fd95a489408e2eac7a96b7a769a')
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"
}
|