Update to v0.1.0

This commit is contained in:
goreleaserbot 2022-08-13 18:12:49 +00:00
commit 7eb6cc9821
2 changed files with 62 additions and 0 deletions

22
.SRCINFO Normal file
View file

@ -0,0 +1,22 @@
pkgbase = kaspa_exporter-bin
pkgdesc = wishlist using netbox as inventory source
pkgver = 0.1.0
pkgrel = 1
url = https://jon4hz.io
license = MIT
conflicts = kaspa_exporter
provides = kaspa_exporter
arch = aarch64
source_aarch64 = https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-arm64.tar.gz
sha256sums_aarch64 = 1fdad777fae0bbdee18ee56974a2cfecbe2b5b3f1dc3c2bae3683f96aed1fea3
arch = armv7h
source_armv7h = https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-armv7.tar.gz
sha256sums_armv7h = 602b9c9312c5c90c0da40a7e6ed49a10f620754ebbadc963eff72a2aa9d23ce7
arch = i686
source_i686 = https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-386.tar.gz
sha256sums_i686 = 2c133353708f70a8fc499497cc760c23c9b8a66c61ee4b2ebc359961819d009a
arch = x86_64
source_x86_64 = https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-amd64.tar.gz
sha256sums_x86_64 = 74164cf5792f05351ef1989790a741951a3f731de6f939211c599fe6acc283bf
pkgname = kaspa_exporter-bin

40
PKGBUILD Normal file
View file

@ -0,0 +1,40 @@
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: jonah <me@jon4hz.io>
pkgname='kaspa_exporter-bin'
pkgver=0.1.0
pkgrel=1
pkgdesc='wishlist using netbox as inventory source'
url='https://jon4hz.io'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('MIT')
provides=('kaspa_exporter')
conflicts=('kaspa_exporter')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-arm64.tar.gz")
sha256sums_aarch64=('1fdad777fae0bbdee18ee56974a2cfecbe2b5b3f1dc3c2bae3683f96aed1fea3')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-armv7.tar.gz")
sha256sums_armv7h=('602b9c9312c5c90c0da40a7e6ed49a10f620754ebbadc963eff72a2aa9d23ce7')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-386.tar.gz")
sha256sums_i686=('2c133353708f70a8fc499497cc760c23c9b8a66c61ee4b2ebc359961819d009a')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/jon4hz/kaspa_exporter/releases/download/v0.1.0/kaspa_exporter-v0.1.0-linux-amd64.tar.gz")
sha256sums_x86_64=('74164cf5792f05351ef1989790a741951a3f731de6f939211c599fe6acc283bf')
package() {
# bin
install -Dm755 "./kaspa_exporter" "${pkgdir}/usr/bin/kaspa_exporter"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/kaspa_exporter/LICENSE"
# 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/kaspa_exporter.bash" "${pkgdir}/usr/share/bash-completion/completions/kaspa_exporter"
install -Dm644 "./completions/kaspa_exporter.zsh" "${pkgdir}/usr/share/zsh/site-functions/_kaspa_exporter"
install -Dm644 "./completions/kaspa_exporter.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/kaspa_exporter.fish"
# man pages
install -Dm644 "./manpages/kaspa_exporter.1.gz" "${pkgdir}/usr/share/man/man1/kaspa_exporter.1.gz"
}