Add omarchycn-keyring package and container build script

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
2026-08-24 19:00:28 -04:00
co-authored by Claude Fable 5
parent 04b2d8836e
commit a867157978
5 changed files with 80 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
pkgname=omarchycn-keyring
pkgver=20260824
pkgrel=1
pkgdesc="OmarchyCN PGP keyring: package registry and release signing keys"
arch=(any)
url="https://git.zacharyzhang.com/ZacharyZhang-NY/omarchycn"
license=(MIT)
install=omarchycn-keyring.install
source=(omarchycn-registry.asc omarchycn-release.asc omarchycn-trusted)
sha256sums=(SKIP SKIP SKIP)
build() {
cat omarchycn-registry.asc omarchycn-release.asc | gpg --dearmor > omarchycn.gpg
}
package() {
install -Dm644 omarchycn.gpg "$pkgdir/usr/share/pacman/keyrings/omarchycn.gpg"
install -Dm644 omarchycn-trusted "$pkgdir/usr/share/pacman/keyrings/omarchycn-trusted"
install -Dm644 /dev/null "$pkgdir/usr/share/pacman/keyrings/omarchycn-revoked"
}
@@ -0,0 +1,7 @@
post_install() {
usr/bin/pacman-key --populate omarchycn
}
post_upgrade() {
usr/bin/pacman-key --populate omarchycn
}
@@ -0,0 +1,2 @@
74DCF57ACD812B24D959F146BD386048867B33B4:4:
04490F065F6ADD262A7243506EDF7B8603B5D247:4: