condorcore-keyring/Makefile
Jelle van der Waa fbcb563e5f
Prepare new release
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2018-10-03 21:21:15 +02:00

23 lines
848 B
Makefile

V=20181003
PREFIX = /usr/local
install:
install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
install -m0644 archlinux.gpg $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
install -m0644 archlinux-trusted $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
install -m0644 archlinux-revoked $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
uninstall:
rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/archlinux{.gpg,-trusted,-revoked}
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
dist:
git archive --format=tar --prefix=archlinux-keyring-$(V)/ $(V) | gzip -9 > archlinux-keyring-$(V).tar.gz
gpg --detach-sign --use-agent archlinux-keyring-$(V).tar.gz
upload:
scp archlinux-keyring-$(V).tar.gz archlinux-keyring-$(V).tar.gz.sig repos.archlinux.org:/srv/ftp/other/archlinux-keyring/
.PHONY: install uninstall dist upload