Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Mihelich <kevin@archlinuxarm.org>2014-01-18 17:26:29 -0700
committerKevin Mihelich <kevin@archlinuxarm.org>2014-01-18 17:26:29 -0700
commit30a51c450efdeea9b5a59ce3400f5b5fe06d5180 (patch)
treee844915c8579e5e01596e8329a0ca552ce2c0756 /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8e5c8be
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+V=20140118
+
+PREFIX = /usr/local
+
+install:
+ install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
+ install -m0644 archlinuxarm{.gpg,-trusted,-revoked} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
+
+uninstall:
+ rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/archlinuxarm{.gpg,-trusted,-revoked}
+ rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
+
+dist:
+ git archive --format=tar --prefix=archlinuxarm-keyring-$(V)/ $(V) | gzip -9 > archlinuxarm-keyring-$(V).tar.gz
+ gpg --detach-sign --use-agent archlinuxarm-keyring-$(V).tar.gz
+
+upload:
+ scp archlinuxarm-keyring-$(V).tar.gz archlinuxarm-keyring-$(V).tar.gz.sig archlinuxarm.org:/www/src
+
+.PHONY: install uninstall dist upload