mirror of
https://github.com/archlinux-jerry/archlinux-jerry-keyring
synced 2024-11-21 21:40:42 +08:00
20 lines
718 B
Makefile
20 lines
718 B
Makefile
V=20230324
|
|
|
|
PREFIX = /usr/local
|
|
|
|
install:
|
|
install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
|
|
install -m0644 jerryxiao{.gpg,-trusted,-revoked} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/jerryxiao{.gpg,-trusted,-revoked}
|
|
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
|
|
|
|
dist:
|
|
git archive --format=tar --prefix=jerryxiao-keyring-$(V)/ $(V) | gzip -9 > jerryxiao-keyring-$(V).tar.gz
|
|
gpg --detach-sign --use-agent jerryxiao-keyring-$(V).tar.gz
|
|
|
|
upload:
|
|
# scp jerryxiao-keyring-$(V).tar.gz jerryxiao-keyring-$(V).tar.gz.sig nymeria.archlinux.org:/srv/ftp/other/archlinux-keyring/
|
|
|
|
.PHONY: install uninstall dist upload
|