summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteffenfritz2017-02-17 20:12:55 +0100
committersteffenfritz2017-02-17 20:12:55 +0100
commitbb7a98da6f84bc8aeb6b7c9ef042fa71b41bcc0c (patch)
tree1383d705967d0601b3f3f77a7d114df3e490099f
downloadaur-bb7a98da6f84bc8aeb6b7c9ef042fa71b41bcc0c.tar.gz
initial commit. v.0.1. TESTING
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..06286664d8d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = pacaudit
+ pkgdesc = This package audits installed packages against known vulnerabilities. Use after pacman -Syu.
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/steffenfritz/pacaudit
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = go>=1.6
+ options = !strip
+ source = https://github.com/steffenfritz/pacaudit/archive/master.zip
+ sha256sums = 73e5fc2594fa3f6fee2505faa1c022a53aaf0f72da1b212faed8979d8581803f
+
+pkgname = pacaudit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..162e5e5e7bc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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')