archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libgpg-error / trunk / PKGBUILD
blobaa9860861ed7016cb74c20b1a7ed0ef419c5c979
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
4 pkgname=libgpg-error
5 pkgver=1.47
6 pkgrel=1
7 pkgdesc="Support library for libgcrypt"
8 arch=(x86_64)
9 url="https://www.gnupg.org"
10 license=('LGPL')
11 depends=('glibc' 'sh')
12 source=(https://www.gnupg.org/ftp/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2{,.sig})
13 # https://www.gnupg.org/download/integrity_check.html
14 sha256sums=('9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb'
15             'SKIP')
16 validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
17 validpgpkeys+=('AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
19 prepare() {
20   cd ${pkgname}-${pkgver}
21   autoreconf -vfi
24 build() {
25   cd ${pkgname}-${pkgver}
26   ./configure --prefix=/usr
27   make
30 check() {
31   cd ${pkgname}-${pkgver}
32   make check
35 package() {
36   cd ${pkgname}-${pkgver}
37   make DESTDIR="${pkgdir}/" install