Files
chromatic-keyring/PKGBUILD
2025-03-15 21:56:29 +01:00

21 lines
527 B
Bash

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
}