2014-01-19 00:26:29 +00:00
|
|
|
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:
|
2014-01-19 00:57:15 +00:00
|
|
|
scp archlinuxarm-keyring-$(V).tar.gz archlinuxarm-keyring-$(V).tar.gz.sig leming@archlinuxarm.org:www/src
|
2014-01-19 00:26:29 +00:00
|
|
|
|
|
|
|
.PHONY: install uninstall dist upload
|