summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4db6670fd66cb53640d870f178b2a5887bcfeaa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Olivier Michaelis <michaelis.olivier [at] gmail [dot] com>

pkgname=sloth-bin
pkgver=0.11.0
pkgrel=1
pkgdesc="Easy and simple Prometheus SLO (service level objectives) generator"
arch=('x86_64' 'aarch64' 'armv7h')
url="https://github.com/slok/sloth"
license=('Apache')

source_x86_64=(sloth-${pkgver}-x86_64::https://github.com/slok/sloth/releases/download/v$pkgver/sloth-linux-amd64)
source_aarch64=(sloth-$pkgver-aarch64::https://github.com/slok/sloth/releases/download/v${pkgver}/sloth-linux-arm64)
source_armv7h=(sloth-${pkgver}-armv7h::https://github.com/slok/sloth/releases/download/v$pkgver/sloth-linux-arm-v7)

sha256sums_x86_64=('a28a1e3f35830b362eba5ac5b98635e9ab426cf4448b0dc623ba2aa8c5ad5a52')
sha256sums_aarch64=('dedf313ff4f549abe5c2f71575287883fa287b7fb20e7ed10d6de380fda1a93a')
sha256sums_armv7h=('7859769d8141dd479eb44e4d6c56742994b2744cec24ef5d6587c8c5edacdd22')

package() {
  install -Dm755 sloth-${pkgver}-${arch} "$pkgdir/usr/bin/sloth"
}