summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49a27b0a959d7982eca420a009fae20c8f5080ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Maintainer: Hao Long <aur@esd.cc>

pkgname=gosec-bin
pkgver=2.8.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=('13246cc87960d066b1484d51f3e5ed35c90f441406b62688919165de82b89a07')

package() {
    install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
    install -Dm755 gosec ${pkgdir}/usr/bin/gosec
}