# Maintainer: zxp19821005 # Contributor: Dimitris Kiziridis pkgname=fortio-bin pkgver=1.63.7 pkgrel=1 pkgdesc='Fortio load testing library, command line tool, advanced echo server and web UI in go (golang). Allows to specify a set query-per-second load and record latency histograms and other useful stats' arch=( 'aarch64' 'x86_64' ) url="https://fortio.org" _ghurl="https://github.com/fortio/fortio" license=('Apache-2.0') provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") depends=() source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_arm64.deb") source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb") sha256sums_aarch64=('55cd655a0b7d7ec7b4ce1dc1359734f3f263c1b339644bd85d2e441e0e1d1785') sha256sums_x86_64=('7aa5b6c9800738aeaf2e80b68ed8720945025dae134fc9e0bc793a01e23928c9') build() { bsdtar -xf "${srcdir}/data."* } package() { install -Dm755 "${srcdir}/usr/bin/${pkgname%-bin}" -t "${pkgdir}/usr/bin" install -Dm644 "${srcdir}/usr/share/man/man1/${pkgname%-bin}.1" -t "${pkgdir}/usr/share/man/man1" }