summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 162e5e5e7bc4cb5cb88a77a865772b9d2e63724d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Steffen Fritz <aur AT fritz DOT wtf>
pkgname=pacaudit
pkgver=0.1
pkgrel=1
pkgdesc="This package audits installed packages against known vulnerabilities. Use after pacman -Syu."
arch=('i686' 'x86_64')
url="https://github.com/steffenfritz/pacaudit"
license=('GPL3')
makedepends=('go>=1.6')
options=('!strip')
source=("https://github.com/steffenfritz/pacaudit/archive/master.zip")

build() {
    cd pacaudit-master
    go build -o pacaudit -ldflags "-s -w"
}

package() {
    mkdir -p $pkgdir/usr/bin
    cd pacaudit-master
    install -m700 $srcdir/pacaudit-master/pacaudit $pkgdir/usr/bin/pacaudit

}
sha256sums=('73e5fc2594fa3f6fee2505faa1c022a53aaf0f72da1b212faed8979d8581803f')