# Maintainer: Dušan Simić pkgname=pillager pkgver=0.8.1 _commit=eb653b7495155f14f51012e25556b3877f7ffd6d pkgrel=1 pkgdesc='Pillage filesystems for sensitive information with Go' arch=(x86_64) url=https://github.com/brittonhayes/pillager license=(MIT) makedepends=(git go) source=("git+$url.git#commit=$_commit") md5sums=(SKIP) prepare() { cd "$pkgname" go mod download go mod tidy } build() { cd "$pkgname" go build -v -o bin/pillager cmd/pillager/main.go } package() { cd "$pkgname" install -Dm755 bin/pillager -t "$pkgdir/usr/bin" }