Initial commit

This commit is contained in:
2025-03-15 21:56:29 +01:00
commit 6fa6755cb4
4 changed files with 53 additions and 0 deletions

10
.SRCINFO Normal file
View File

@@ -0,0 +1,10 @@
pkgbase = chromatic-keyring
pkgdesc = GPG public keys for the official chromatic repositories
pkgver = 1.0
pkgrel = 1
url = https://git.justw.tf/chromatic/chromatic-keyring
install = chromatic-keyring.install
arch = any
license = GPL-2.0-or-later
pkgname = chromatic-keyring

20
PKGBUILD Normal file
View File

@@ -0,0 +1,20 @@
pkgname=chromatic-keyring
pkgver=1.0
pkgrel=1
pkgdesc="GPG public keys for the official chromatic repositories"
arch=(any)
url=https://git.justw.tf/chromatic/chromatic-keyring
license=("GPL-2.0-or-later")
install=$pkgname.install
package() {
PACKAGE_FORMAT=pacman
PREFIX="$pkgdir/usr"
PKG_BUILDER_DIR=".."
local GPG_DIR="$PREFIX/share/pacman/keyrings"
mkdir -p $GPG_DIR
install -Dm600 $PKG_BUILDER_DIR/chromatic.gpg $GPG_DIR
echo "6EFB412EBDDD1853DF71F4B625AE803AA8C39062:4:" > $GPG_DIR/chromatic-pacman-trusted
}

10
chromatic-keyring.install Normal file
View File

@@ -0,0 +1,10 @@
post_install() {
if [ ! -d /etc/pacman.d/ ]; then
pacman-key --init
fi
pacman-key --populate
}
post_upgrade() {
post_install
}

13
chromatic.gpg Normal file
View File

@@ -0,0 +1,13 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEZ83gvBYJKwYBBAHaRw8BAQdAkphh1AyLghqdnIlmc/sIAegKeqflaEIfNagg
BVOmHpu0J0xpZ2h0ZW1lcmFsZCA8bGlnaHRfZW1lcmFsZEBhb3N0aWEuY29tPoiT
BBMWCgA7FiEEbvtBLr3dGFPfcfS2Ja6AOqjDkGIFAmfN4LwCGwMFCwkIBwICIgIG
FQoJCAsCBBYCAwECHgcCF4AACgkQJa6AOqjDkGIj8gD/flnQMKsUU2OmPODYa/M/
3t+Qmqzw5uxaSHKBfok/yKUBAIMIR0p7pGgnLxqCQCNWmqD4KdRtkhnmGY6Qm8j0
FqoIuDgEZ83gvBIKKwYBBAGXVQEFAQEHQKpfdGNoC9Ulbmfeo9r7tTIMtixGL0kJ
tonM4Fk6FMA8AwEIB4h4BBgWCgAgFiEEbvtBLr3dGFPfcfS2Ja6AOqjDkGIFAmfN
4LwCGwwACgkQJa6AOqjDkGJk2QD+KZOQGwpszJmUPLvZP/f+WqIxGxinrlTurdEJ
fT2b/joBALfcls4lnqCSYMjRv3EPrFPnLo2AIBDQXU3fIiMXv3UA
=FC6R
-----END PGP PUBLIC KEY BLOCK-----