# Maintainer: Benjamin Denhartog pkgname=bazelisk-bin pkgver=1.8.1 pkgrel=2 pkgdesc='A user-friendly launcher for Bazel' url='https://github.com/bazelbuild/bazelisk' conflicts=("bazel") provides=('bazel') license=('Apache') arch=('x86_64') source=( "LICENSE-${pkgver}::https://raw.githubusercontent.com/bazelbuild/bazelisk/v${pkgver}/LICENSE" "bazelisk-linux-amd64-${pkgver}::https://github.com/bazelbuild/bazelisk/releases/download/v${pkgver}/bazelisk-linux-amd64" ) sha256sums=('c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4' '4a7652ffe904ccb064aaa7db41c456e742e507e574f58a602edbbc32920ed79b') package() { install -D -m 644 \ "${srcdir}/${source[0]%%::*}" \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m 755 \ "${srcdir}/${source[1]%%::*}" \ "${pkgdir}/usr/bin/${pkgname%isk-bin}" }