# Maintainer: 37signals pkgname=hey-cli pkgver=1.3.0 pkgrel=1 pkgdesc="CLI for HEY email" arch=('x86_64' 'aarch64') url="https://github.com/basecamp/hey-cli" license=('MIT') provides=('hey') conflicts=('hey' 'hey-bin') optdepends=( 'bash-completion: for bash shell completions' 'zsh: for zsh shell completions' 'fish: for fish shell completions' ) source_x86_64=("https://github.com/basecamp/hey-cli/releases/download/v1.3.0/hey_${pkgver}_linux_amd64.tar.gz") source_aarch64=("https://github.com/basecamp/hey-cli/releases/download/v1.3.0/hey_${pkgver}_linux_arm64.tar.gz") sha256sums_x86_64=('2ac446d3b974f53bdefde0ef233c994b135db97e5d714b6dda94b635d0b29454') sha256sums_aarch64=('e4b4023723186c6c6192c26174f4691237e6a23fedf11cf2832c040dda779775') package() { install -Dm755 "hey" "${pkgdir}/usr/bin/hey" install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" install -Dm644 "completions/hey.bash" "${pkgdir}/usr/share/bash-completion/completions/hey" install -Dm644 "completions/_hey" "${pkgdir}/usr/share/zsh/site-functions/_hey" install -Dm644 "completions/hey.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/hey.fish" }