summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Gwosdz2021-03-25 10:16:27 +0100
committerJosh Gwosdz2021-03-25 10:16:27 +0100
commit08c738689dccd0a7914e63f08984910a9d945be2 (patch)
treec0b789fcd7e38794f120ffaa32d5b2346b0188fa
parent12d1f5b2029ded6ce233a9630665c2f1c5573cb8 (diff)
downloadaur-08c738689dccd0a7914e63f08984910a9d945be2.tar.gz
make all will now redownload the tarball, update the checksum and rebuild .SRCINFO
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eed8c85f820..6b39a3bbf2e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,16 @@
-.PHONY: update-srcinfo
+all: | update-pkgsums update-srcinfo
+.PHONY: all
+
update-srcinfo:
makepkg --printsrcinfo > .SRCINFO
+.PHONY: update-srcinfo
+
+update-pkgsums:
+ rm -f openshift-client-linux.tar.gz
+ updpkgsums
+.PHONY: update-pkgsums
-.PHONE: compare-versions
compare-versions:
# https://github.com/erdii/toolbox/blob/main/cmd/aur-compare-oc-versions/main.go
aur-compare-oc-versions
+.PHONY: compare-versions