# Maintainer: Hao Long pkgname=gosec-bin pkgver=2.3.0 pkgrel=1 pkgdesc="Inspects source code for security problems by scanning the Go AST" arch=("x86_64") url="https://github.com/securego/gosec" license=("Apache") source=("https://github.com/securego/gosec/releases/download/v${pkgver}/gosec_${pkgver}_linux_amd64.tar.gz") sha256sums=('4be6ce9a9378b6ad594911b8477c06454fa5c31e56530b3152340294488fc45e') package() { install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm755 gosec ${pkgdir}/usr/bin/gosec }