# Maintainer: Hao Long pkgname=gosec-bin pkgver=2.2.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=('e56df18f4a7706b47088fe5652c699b3370884d6662ba304e62f57bb126b399c') package() { install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm755 gosec ${pkgdir}/usr/bin/gosec }