From b614765ccea3f4eb39fcaa8b9a1178df57641620 Mon Sep 17 00:00:00 2001 From: Xiufeng Guo Date: Thu, 30 Jun 2022 17:02:32 +0000 Subject: [PATCH] Update --- README.md | 75 +++++++++++++++++++++++++++++++++++++- repo/nali-go-bin/PKGBUILD | 6 +-- repo/synergy1-bin/PKGBUILD | 2 +- 3 files changed, 78 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 371c3e0..e4283d2 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,82 @@ Some configurations and PKGBUILD shits here. -## PKGBUILD +## Get Started +Import GPG Key: +```sh +wget -O /tmp/m.ac.asc https://repo.m.ac/B1F6E658B6A3DC2A2E30A09D29A7777777777777-public.asc +sudo pacman-key --add /tmp/m.ac.asc +``` + +Verify the fingerprint: + +```sh +pacman-key --finger 29A7777777777777 +``` + +You may get the same result: + +```sh +$ pacman-key --finger 29A7777777777777 +gpg: Note: trustdb not writable +pub ed25519 2022-05-30 [SC] + B1F6 E658 B6A3 DC2A 2E30 A09D 29A7 7777 7777 7777 +uid [ unknown] Xiufeng Guo +sub cv25519 2022-05-30 [E] +``` + +Finally, you must locally sign the imported key: + +```sh +sudo pacman-key --lsign-key 29A7777777777777 +``` + +Now, verify again: + +```sh +$ pacman-key --finger 29A7777777777777 +gpg: Note: trustdb not writable +pub ed25519 2022-05-30 [SC] + B1F6 E658 B6A3 DC2A 2E30 A09D 29A7 7777 7777 7777 +uid [ full ] Xiufeng Guo +sub cv25519 2022-05-30 [E] +``` + +Then add `m.ac` repo to `/etc/pacman.conf`: + +```sh +sudo tee -a /etc/pacman.conf > /dev/null < pkgname=nali-go-bin pkgver=0.4.6 -pkgrel=1 +pkgrel=2 pkgdesc='An offline tool for querying IP geographic information and CDN provider.' arch=('x86_64') url="https://github.com/zu1k/nali" license=('MIT') -provides=('nali-go') -conflicts=('nali-go') +provides=('nali') +conflicts=('nali') source=("https://github.com/zu1k/nali/releases/download/v$pkgver/nali-linux-amd64-v$pkgver.gz") sha256sums=('a1fc798c534328b0a447f01970f4de1de2e0556a87e595f717f03d95b15e4b59') diff --git a/repo/synergy1-bin/PKGBUILD b/repo/synergy1-bin/PKGBUILD index 53be7e4..7613627 100644 --- a/repo/synergy1-bin/PKGBUILD +++ b/repo/synergy1-bin/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Xiufeng Guo pkgname=synergy1-bin pkgver=1.14.4 -pkgrel=1 +pkgrel=2 pkgdesc="Keyboard and mouse sharing solution. Synergy allows you to share one mouse and keyboard between multiple computers. Work seamlessly across Windows, macOS and Linux." arch=('x86_64') url="https://symless.com/synergy"