mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add keyring
This commit is contained in:
parent
10aa8af905
commit
b258694033
3 changed files with 43 additions and 0 deletions
21
BioArchLinux/bioarchlinux-keyring/PKGBUILD
Normal file
21
BioArchLinux/bioarchlinux-keyring/PKGBUILD
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Maintainer: Guoyi
|
||||
pkgname=bioarchlinux-keyring
|
||||
pkgver=20220416
|
||||
pkgrel=1
|
||||
pkgdesc='BioArchLinux PGP keyring'
|
||||
arch=('any')
|
||||
url='https://github.com/BioArchLinux/keyring'
|
||||
install=${pkgname}.install
|
||||
makedepends=('git')
|
||||
license=('GPL')
|
||||
source=('git+https://github.com/BioArchLinux/keyring.git')
|
||||
sha256sums=('SKIP')
|
||||
pkgver(){
|
||||
date +%Y%m%d
|
||||
}
|
||||
package() {
|
||||
cd "${srcdir}"/keyring
|
||||
install -Dm644 bioarchlinux.gpg $pkgdir/usr/share/pacman/keyrings/bioarchlinux.gpg
|
||||
install -Dm644 bioarchlinux-revoked $pkgdir/usr/share/pacman/keyrings/bioarchlinux-revoked
|
||||
install -Dm644 bioarchlinux-trusted $pkgdir/usr/share/pacman/keyrings/bioarchlinux-trusted
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
post_upgrade() {
|
||||
usr/bin/pacman-key -l B1F96021DB62254D || usr/bin/pacman-key --populate bioarchlinux
|
||||
}
|
||||
|
||||
post_install() {
|
||||
if [ -x usr/bin/pacman-key ]; then
|
||||
post_upgrade
|
||||
fi
|
||||
}
|
13
BioArchLinux/bioarchlinux-keyring/lilac.yaml
Normal file
13
BioArchLinux/bioarchlinux-keyring/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Maintainer: guoyi
|
||||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: stasareintherose
|
||||
email: stasareintherose@outlook.com
|
||||
pre_build_script: |
|
||||
update_pkgrel()
|
||||
vcs_update()
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: github
|
||||
github: BioArchLinux/keyring
|
Loading…
Add table
Reference in a new issue