summaryrefslogtreecommitdiff
path: root/libre/parabola-keyring/PKGBUILD
blob: ea5c67bed09f6631337bff463261f4a85fec044e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Parabola automatic package builder <autobuilder@parabola.nu>
# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=parabola-keyring
pkgver=20180104
_gitver=aa0809f06972a8370b5884e144b7d998455a3029
pkgrel=1
pkgdesc='Parabola GNU/Linux-libre PGP keyring'
arch=('any')
url='https://git.parabola.nu/hackers.git/'
license=('GPL')
install=$pkgname.install
source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
sha512sums=('775655309757cf1887a76e3e6e7079d751f65d0110097cf80cc02a490caad62e92f173a75f706067ade03781e139abf2a10b6fc64b7a4f04805a47f0bb52380b'
            'SKIP')
#validpgpkeys=('D3EAD7F9D076EB9AF650149DA170D6A0B669E21A') # Parabola automatic package builder <dev@lists.parabolagnulinux.org>
validpgpkeys=('1B8C5E87702444D3D825CC8086ED62396D5DBA58') # Omar Vega Ramos <ovruni@gnu.org.pe>

mkdepends=('parabola-hackers')
mksource=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}")
mkmd5sums=('SKIP')

mksource() {
	cd "$srcdir"
	mv {,.}hackers-$_gitver
	mkdir .cachedir
	/usr/lib/parabola-hackers/pacman-make-keyring \
		V="$pkgver" \
		PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" \
		cachedir="$PWD/.cachedir"
	bsdtar xf "$pkgname-$pkgver.tar.gz"
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make PREFIX=/usr DESTDIR="${pkgdir}" install
}