2017-12-13 12:59:26 -06:00
|
|
|
V=20171213
|
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/
|
2012-04-07 11:43:24 -05:00
|
|
|
install -m0644 archlinux{.gpg,-trusted,-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
|