summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Fritz2019-05-02 22:22:22 +0200
committerSteffen Fritz2019-05-02 22:22:22 +0200
commit81e61103fc09a6b2ba6803bc84c7b221cca96a6b (patch)
tree717338b46a853ba87bd18af9d788d069ea7ae2fb
parent83445b10bf992829e07f9addf3f82c79ea5a9c3a (diff)
downloadaur-pacaudit.tar.gz
v1.0.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 38dfbbde1f3..b3aab2fe135 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pacaudit
pkgdesc = This package audits installed packages against known vulnerabilities. Use after pacman -Syu.
- pkgver = 1.0.0
+ pkgver = 1.0.1
pkgrel = 1
url = https://github.com/steffenfritz/pacaudit
arch = i686
@@ -8,8 +8,8 @@ pkgbase = pacaudit
license = GPL3
makedepends = go
options = !strip
- source = https://github.com/steffenfritz/pacaudit/archive/v1.0.0.tar.gz
- sha256sums = ff7983cf99f8654749a642ed7c4a0a41522768d9030d3496c1efe262a9309a90
+ source = https://github.com/steffenfritz/pacaudit/archive/v1.0.1.tar.gz
+ sha256sums = 7b8a2f236596fcff86b824ccac5b1a0124726690ec9c6746c407cbb5c5c2c380
pkgname = pacaudit
diff --git a/PKGBUILD b/PKGBUILD
index 8b5c4a4d0a6..f8842665e00 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {