2013-10-27 08:39:35 -06:00
|
|
|
V=20131027
|
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:
|
2013-01-27 14:36:07 -06:00
|
|
|
scp archlinux-keyring-$(V).tar.gz archlinux-keyring-$(V).tar.gz.sig nymeria.archlinux.org:/srv/ftp/other/archlinux-keyring/
|
2012-02-13 07:37:52 -06:00
|
|
|
|
|
|
|
.PHONY: install uninstall dist upload
|