From f1bde5cb3c1797a4861e242abd92e5ad088ee751 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Thu, 30 Nov 2023 08:15:37 +0900 Subject: [PATCH] . --- .gitignore | 1 + Makefile | 9 ++++++++- README.md | 39 +++++++++++++++++---------------------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 324e468..e8a713e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ sp .ccls-cache *.o +*.tar.gz diff --git a/Makefile b/Makefile index 88af5a5..4c378f5 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,13 @@ all: clean: rm -f ${NAME} +dist: clean + mkdir -p ${NAME}-${VERSION} + cp -R LICENSE.txt Makefile README.md CHANGELOG.md\ + *.c *.h ${NAME}-${VERSION} + tar zcfv ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION} + rm -rf ${NAME}-${VERSION} + install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f ${NAME} ${DESTDIR}${PREFIX}/bin @@ -21,4 +28,4 @@ install: all uninstall: rm -f ${DESTDIR}${PREFIX}/bin/${NAME} -.PHONY: all clean install uninstall +.PHONY: all clean dist install uninstall diff --git a/README.md b/README.md index 6f8f48c..82aa445 100644 --- a/README.md +++ b/README.md @@ -5,42 +5,37 @@ ### CRUX ```sh doas prt-get depinst gpgme gnupg pinentry +doas make install +``` + +又は + +```sh +doas su +cd /etc/ports +wget https://076.moe/repo/crux/suwaports.httpup +echo "prtdir /usr/ports/suwaports" >> /etc/prt-get.conf +ports -u +prt-get depinst sp ``` ### Artix ```sh doas pacman -S base-devel gpgme gnupg pinentry +doas make install ``` ### OpenBSD ```sh doas pkg_add gmake gpgme gnupg pinentry +doas gmake install PREFIX=/usr/local ``` ### FreeBSD ```sh doas pkg install gmake gpgme gnupg pinentry -``` - -### 全部 -```sh -mkdir -p ~/.local/share/sp -gpg --generate-key -gpg -k | less -``` -鍵をコピーして下さい。 -```sh -echo "(コピーした鍵)" >> ~/.local/share/sp/.gpg-id -``` - -### Linux -```sh -make -doas make install -``` - -### FreeBSDかOpenBSD -```sh -gmake doas gmake install PREFIX=/usr/local ``` + +## 初期設定 +「gpg -k」でGPG鍵IDを確認して、「sp -i [GPG ID]」を実行して下さい。 -- 2.43.0