summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino2017-11-10 13:43:00 +0100
committerAndrea Scarpino2017-11-10 13:43:10 +0100
commit659575bc6470bab370d33cc65cc04044cd153cab (patch)
tree3eac6893038cb4ca8008203c4dbbe42a75664d44
parent32ed6ed35ba524b9a365874ed29fd153fa319182 (diff)
downloadaur-659575bc6470bab370d33cc65cc04044cd153cab.tar.gz
Fix build
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c859d481aa..a13a5e01cb7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Feb 16 18:13:35 UTC 2017
+# Fri Nov 10 12:43:04 UTC 2017
pkgbase = arch-audit-git
pkgdesc = An utility like pkg-audit based on Arch CVE Monitoring Team data
pkgver = 0.1.8.r0.gc078e16
@@ -12,6 +12,8 @@ pkgbase = arch-audit-git
makedepends = pkg-config
makedepends = git
depends = curl
+ provides = arch-audit
+ conflicts = arch-audit
source = git://github.com/ilpianista/arch-audit.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 77781b2bcfd..6a3056f2b65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,6 +7,8 @@ pkgdesc='An utility like pkg-audit based on Arch CVE Monitoring Team data'
url='https://github.com/ilpianista/arch-audit'
depends=('curl')
makedepends=('cargo' 'pkg-config' 'git')
+provides=('arch-audit')
+conflicts=('arch-audit')
arch=('i686' 'x86_64')
license=('MIT')
source=('git://github.com/ilpianista/arch-audit.git')
@@ -24,7 +26,7 @@ build() {
package() {
cd arch-audit
- install -Dm755 "target/release/${pkgname}" "$pkgdir/usr/bin/${pkgname}"
+ install -Dm755 target/release/arch-audit "$pkgdir/usr/bin/arch-audit"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"