このコミットが含まれているのは:
守矢諏訪子 2023-11-30 08:15:37 +09:00
コミット f1bde5cb3c
3個のファイルの変更26行の追加23行の削除

1
.gitignore vendored
ファイルの表示

@ -1,3 +1,4 @@
sp
.ccls-cache
*.o
*.tar.gz

ファイルの表示

@ -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

ファイルの表示

@ -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]」を実行して下さい。