# Maintainer: Joey Yakimowich-Payne <jyapayne@pm.me>
#
# The key that signs BlueRune's packages and package databases (pkgs.bluerune.dev), as a
# pacman keyring: installing or upgrading it runs `pacman-key --populate bluerune`, which
# adds the key and trusts it, as archlinux-keyring does for Arch's own. bluerune.gpg is
# `gpg --export` of the key; bluerune-trusted names it with full trust; no key is revoked.
# pkgver is the date the keyring last changed.

pkgname=bluerune-keyring
pkgver=20261125
pkgrel=1
pkgdesc='The key that signs the BlueRune package repository'
arch=('any')
url='https://bluerune.dev'
license=('Apache-2.0 OR MIT')
install=bluerune-keyring.install
source=('bluerune.gpg' 'bluerune-trusted' 'bluerune-revoked')
sha256sums=('2b773dba7934fe2212ad1e39ca82470616fb8d8b083d2dab237ca66e5861068d'
            '95b6ccf3972e880ccba29af871c05850128d79887b7aada482dc4200a4bf9540'
            'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')

package() {
  install -Dm644 bluerune.gpg bluerune-trusted bluerune-revoked -t "$pkgdir/usr/share/pacman/keyrings"
}
