Update rad4day-keyring

This commit is contained in:
Tobias Manske 2023-03-25 22:57:02 +01:00
commit 0871451c3d
Signed by: tobias
GPG Key ID: 9164B527694A0709
3 changed files with 83 additions and 0 deletions

43
.gitignore vendored Normal file
View File

@ -0,0 +1,43 @@
# Created by https://www.toptal.com/developers/gitignore/api/vim,vscode,linux
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,vscode,linux
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
#!! ERROR: vscode is undefined. Use list command to see defined gitignore types !!#
# End of https://www.toptal.com/developers/gitignore/api/vim,vscode,linux
*.pkg.*

View File

@ -0,0 +1,28 @@
pkgname=rad4day-repo-keyring
pkgver=20230325
pkgrel=1
pkgdesc='Rad4day Repo PGP keyring'
arch=('any')
license=('GPL3')
install=keyring.install
depends=('pacman')
makedepends=('git' 'python' 'sequoia-sq' 'pkgconf' 'systemd')
checkdepends=('python-coverage' 'python-pytest')
source=("rad4day-keyring::git+https://git.tobiasmanske.de/archlinux-repo/keyring.git#tag=latest?signed")
sha256sums=('SKIP')
validpgpkeys=('10BE06BC275CE0E17373B368F67996C486D1B56B') # Root of trust Key
build() {
cd rad4day-keyring/
make build
}
check() {
cd rad4day-keyring/
make check
}
package() {
cd rad4day-keyring/
make PREFIX='/usr' DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,12 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate rad4day
usr/bin/pacman-key --updatedb
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}