OCaml 4.14.0 rebuild
[arch-packages.git] / libgpg-error / trunk / PKGBUILD
blob1eb520f056fafcc82b82ea22070318f7319e3cd9
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
4 pkgname=libgpg-error
5 pkgver=1.45
6 pkgrel=2
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 sha1sums=('fe724ed37b4935964059a47b7c64d5f8246659d8'
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