# $Id$
# This PKGBUILD is based on Arch's ubuntu-keyring version 2018.02.28-1.0
# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>

pkgname=pureos-archive-keyring
pkgver=2016.09
pkgrel=1
pkgdesc="GnuPG keys of the Trisquel archive"
arch=('any')
url="https://repo.puri.sm/pureos/pool/main/p/pureos-archive-keyring/"
license=('GPL')
depends=('gnupg')
source=("https://repo.puri.sm/pureos/pool/main/p/pureos-archive-keyring/pureos-archive-keyring_$pkgver.tar.xz")
sha512sums=('465e143e0325693b0810978658342fec8e1d7884c5d54759b75526436799bb11bc6e30c173904fe8f693b05edbdafc12da5bc79bcc54fd90bdd7f7abe7404fdd')

package() {
  cd $pkgname-$pkgver
  install -Dm644 keyrings/pureos-archive-keyring.gpg "$pkgdir"/usr/share/keyrings/pureos-archive-keyring.gpg
  install -Dm644 keyrings/pureos-archive-removed-keys.gpg "$pkgdir"/usr/share/keyrings/pureos-archive-removed-keys.gpg
}
