# This file was generated by GoReleaser. DO NOT EDIT. # Maintainer: Chmouel Boudjnah pkgname='gosmee-bin' pkgver=0.22.0 pkgrel=1 pkgdesc='gosmee - A webhook and https://smee.io forwarder' url='https://github.com/chmouel/gosmee' arch=('aarch64' 'x86_64') license=('Apache 2.0') provides=('gosmee') conflicts=('gosmee') source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/chmouel/gosmee/releases/download/v0.22.0/gosmee_0.22.0_linux_arm64.tar.gz") sha256sums_aarch64=('4ffa2772250040d51b581faf2281555be4a12e6210f0bd81096bc7b38beb3975') source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/chmouel/gosmee/releases/download/v0.22.0/gosmee_0.22.0_linux_x86_64.tar.gz") sha256sums_x86_64=('2698bbefdcbd50915fa5df32b34ffd7bb900e937c5d58352e2cce25607be9754') package() { # bin install -Dm755 "./gosmee" "${pkgdir}/usr/bin/gosmee" # license install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/gosmee/LICENSE" # completions mkdir -p "${pkgdir}/usr/share/bash-completion/completions/" mkdir -p "${pkgdir}/usr/share/zsh/site-functions/" for i in zsh bash fish;do ./gosmee completion ${i} > gosmee.${i} done install -Dm644 "gosmee.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/gosmee" install -Dm644 "gosmee.bash" "${pkgdir}/usr/share/bash-completion/completions/gosmee" install -Dm644 "gosmee.zsh" "${pkgdir}/usr/share/zsh/site-functions/_gosmee" }