subrepo:
  subdir:   "arch4edu-keyring"
  merged:   "3a61b8e"
upstream:
  origin:   "https://aur.archlinux.org/arch4edu-keyring"
  branch:   "master"
  commit:   "3a61b8e"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2021-01-14 18:24:34 +01:00
parent ca32ced517
commit 91ea9ad672
5 changed files with 59 additions and 0 deletions

14
arch4edu-keyring/.SRCINFO Normal file

@ -0,0 +1,14 @@
pkgbase = arch4edu-keyring
pkgdesc = arch4edu PGP keyring
pkgver = 20200805
pkgrel = 1
url = https://github.com/arch4edu/keyring
install = arch4edu-keyring.install
arch = any
license = GPL
optdepends = pkgstats: install to submit package usage statistics
source = https://github.com/arch4edu/keyring/archive/20200805.tar.gz
sha512sums = 4e0482cbba53a509976f769bbe2a9715fefa7c6362439715a576b084bf8b2dd3c58e21066af786616c12b9ff47c508adf18cf55522f8c452a33195910a04ce1a
pkgname = arch4edu-keyring

2
arch4edu-keyring/.gitignore vendored Normal file

@ -0,0 +1,2 @@
*/
*.tar*

12
arch4edu-keyring/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/arch4edu-keyring
branch = master
commit = 3a61b8e01ee89957701a001400525e66251a4a95
parent = ca32ced5175cea053c54e222648d33d05ac7795d
method = merge
cmdver = 0.4.3

22
arch4edu-keyring/PKGBUILD Normal file

@ -0,0 +1,22 @@
# Maintainer: Jingbei Li <i@jingbei.li>
pkgname=arch4edu-keyring
pkgver=20200805
pkgrel=1
pkgdesc='arch4edu PGP keyring'
arch=('any')
url='https://github.com/arch4edu/keyring'
license=('GPL')
optdepends=('pkgstats: install to submit package usage statistics')
source=("$url/archive/$pkgver.tar.gz")
install=${pkgname}.install
sha512sums=('4e0482cbba53a509976f769bbe2a9715fefa7c6362439715a576b084bf8b2dd3c58e21066af786616c12b9ff47c508adf18cf55522f8c452a33195910a04ce1a')
package() {
cd "$srcdir/keyring-$pkgver"
install -Dm644 arch4edu.gpg $pkgdir/usr/share/pacman/keyrings/arch4edu.gpg
install -Dm644 arch4edu-revoked $pkgdir/usr/share/pacman/keyrings/arch4edu-revoked
install -Dm644 arch4edu-trusted $pkgdir/usr/share/pacman/keyrings/arch4edu-trusted
}

@ -0,0 +1,9 @@
post_upgrade() {
usr/bin/pacman-key -l 7931B6D628C8D3BA || usr/bin/pacman-key --populate arch4edu
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}