add package that install signing key into pacman

This commit is contained in:
Maximilian Keßler 2022-07-25 19:32:55 +02:00
parent e96c558e38
commit 857e35341c
2 changed files with 18 additions and 2 deletions

View file

@ -1,11 +1,15 @@
pkgbase=mkessler
pkgname=(mkessler-base mkessler-xmonad mkessler-x mkessler-audio mkessler-software mkessler-print mkessler-locale mkessler-desktop mkessler-devel)
pkgver=0.5
pkgname=(mkessler-base mkessler-xmonad mkessler-x mkessler-audio mkessler-software mkessler-print mkessler-locale mkessler-desktop mkessler-devel mkessler-signing-key)
pkgver=0.6
pkgrel=1
pkgdesc="Base system configuration for mkessler systems"
arch=('any')
license=('MIT')
groups=(mkessler)
url="https://gitlab.com/kesslermaximilian/arch-pkgs"
source=(https://mkessler-arch.maximilian-kessler.de/signing-key.asc)
b2sums=(b0e1a6bc60f99bdda99dd053ef869a9f3f899ced7a4b23db3718baaee374375ca4013ac3eab2eb3ef6d645083722f9305c484661cd1246f6ec2e3bf62dbf95a4)
package_mkessler-base() {
# Base packages
@ -100,3 +104,11 @@ package_mkessler-devel() {
# python
depends+=(python python-pip)
}
package_mkessler-signing-key() {
# Install this package after pacman to ensure that its keyring is initialized
depends=(pacman)
install=mkessler-signing-key.install
}

View file

@ -0,0 +1,4 @@
post_install() {
pacman-key --import signing_key.asc
pacman-key --lsign B419CDA93D7544F8214B3216A23D90C2433DAFBC
}