index : archlinux32-keyring | |
Archlinux32 pacman keyring | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | Makefile | 10 |
@@ -1,4 +1,5 @@ PREFIX = /usr/local +V=$(shell git describe --exact-match) install: install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ @@ -8,4 +9,11 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/archlinux32{.gpg,-trusted,-revoked} rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ -.PHONY: install uninstall +dist: + git archive --format=tar --prefix=archlinux32-keyring-$(V)/ $(V) | gzip -9 > archlinux32-keyring-$(V).tar.gz + gpg --detach-sign --use-agent archlinux32-keyring-$(V).tar.gz + +upload: + scp archlinux32-keyring-$(V).tar.gz archlinux32-keyring-$(V).tar.gz.sig sources.archlinux32.org:sources/ + +.PHONY: install uninstall dist upload |