2021-10-28 04:59:05 -05:00
|
|
|
V=20211028
|
2012-02-13 07:37:52 -06:00
|
|
|
|
|
|
|
PREFIX = /usr/local
|
|
|
|
|
|
|
|
install:
|
2012-03-03 11:16:04 -06:00
|
|
|
install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
|
2018-04-03 14:11:32 -05:00
|
|
|
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/
|
2012-02-13 07:37:52 -06:00
|
|
|
|
|
|
|
uninstall:
|
2012-04-07 11:43:24 -05:00
|
|
|
rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/archlinux{.gpg,-trusted,-revoked}
|
2012-03-03 11:16:04 -06:00
|
|
|
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
|
2012-02-13 07:37:52 -06:00
|
|
|
|
|
|
|
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:
|
2016-08-12 00:41:51 -05:00
|
|
|
scp archlinux-keyring-$(V).tar.gz archlinux-keyring-$(V).tar.gz.sig repos.archlinux.org:/srv/ftp/other/archlinux-keyring/
|
2012-02-13 07:37:52 -06:00
|
|
|
|
|
|
|
.PHONY: install uninstall dist upload
|