# Maintainer: zxp19821005 # Contributor: Dimitris Kiziridis pkgname=hoverfly-bin pkgver=1.7.0 pkgrel=1 pkgdesc="Lightweight service virtualization/API simulation tool for developers and testers" arch=( 'aarch64' 'i686' 'x86_64' ) url='https://hoverfly.io' _ghurl="https://github.com/SpectoLabs/hoverfly" license=('Apache-2.0') provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") source_aarch64=("${pkgname}-${pkgver}-aarch64.zip::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}_bundle_linux_arm64.zip") source_i686=("${pkgname}-${pkgver}-i686.zip::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}_bundle_linux_386.zip") source_x86_64=("${pkgname}-${pkgver}-x86_64.zip::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}_bundle_linux_amd64.zip") sha256sums_aarch64=('26db7d2a4adfd4e8f4a7890e3b5667c7f75255ecd4fd0eff0080bbe430a68c81') sha256sums_i686=('7bda816ecd4bc3d2eb684dbb9f1851612ba6e9fcc588a45a829b159b931b91f8') sha256sums_x86_64=('8e662438f712488464e6371c77727020989c8b917b6c94af8f64cccff3207d88') package() { install -Dm755 "${srcdir}/${pkgname%-bin}" -t "${pkgdir}/usr/bin" install -Dm755 "${srcdir}/hoverctl" -t "${pkgdir}/usr/bin" install -Dm755 "${srcdir}/${pkgname%-bin}" -t "${pkgdir}/usr/bin" }