summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2017-05-25 10:20:36 +1000
committerMark Blakeney2017-05-25 10:20:36 +1000
commit6da46edea934c70fa6c622516a84246955aeec5f (patch)
tree0523253ab30cd1ca4fc9a215c99b1a468b42df8d
parent026121a5423e5b89040576c822c8a661bf672d19 (diff)
downloadaur-6da46edea934c70fa6c622516a84246955aeec5f.tar.gz
Improve Makefile check
-rw-r--r--.SRCINFO2
-rw-r--r--Makefile4
2 files changed, 5 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8c35da537fc..4e95d77880b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 13 02:29:08 UTC 2016
+# Thu May 25 00:20:20 UTC 2017
pkgbase = encfsui
pkgdesc = Encrypted filesystem encfs GUI wrapper
pkgver = 1.1
diff --git a/Makefile b/Makefile
index b30ef23ba10..645a9aa44bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
nam = $(shell sed -n 's/^pkgname=//p' PKGBUILD)
src = PKGBUILD
inf = .SRCINFO
+pkg = $(shell ls -v $(nam)*.pkg.tar* 2>/dev/null | tail -1)
all: sum $(inf) check
@@ -9,6 +10,9 @@ $(inf): $(src)
check: $(src)
namcap $^
+ifneq ($(strip $(pkg)),)
+ namcap $(pkg)
+endif
sum: $(src)
updpkgsums