diff options
author | Steffen Fritz | 2019-05-02 22:22:22 +0200 |
---|---|---|
committer | Steffen Fritz | 2019-05-02 22:22:22 +0200 |
commit | 81e61103fc09a6b2ba6803bc84c7b221cca96a6b (patch) | |
tree | 717338b46a853ba87bd18af9d788d069ea7ae2fb /PKGBUILD | |
parent | 83445b10bf992829e07f9addf3f82c79ea5a9c3a (diff) | |
download | aur-81e61103fc09a6b2ba6803bc84c7b221cca96a6b.tar.gz |
v1.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,6 +1,6 @@ # Maintainer: Steffen Fritz <aur AT fritz DOT wtf> pkgname=pacaudit -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 pkgdesc="This package audits installed packages against known vulnerabilities. Use after pacman -Syu." arch=('i686' 'x86_64') @@ -9,7 +9,7 @@ license=('GPL3') makedepends=('go') options=('!strip') -sha256sums=('ff7983cf99f8654749a642ed7c4a0a41522768d9030d3496c1efe262a9309a90') +sha256sums=('7b8a2f236596fcff86b824ccac5b1a0124726690ec9c6746c407cbb5c5c2c380') source=("https://github.com/steffenfritz/pacaudit/archive/v$pkgver.tar.gz") @@ -20,9 +20,8 @@ prepare(){ } build() { - export GOPATH="${srcdir}" - cd src/github.com/steffenfritz/pacaudit - go build -o pacaudit -ldflags "-s -w" -buildmode=pie + cd "$pkgname-$pkgver" + go build -o pacaudit -ldflags "-s -w" -buildmode=pie } package() { |