42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
# Contributor: judd <jvinet@zeroflux.org>
|
|
|
|
pkgname=libgpg-error
|
|
pkgver=1.50
|
|
pkgrel=1
|
|
pkgdesc="Support library for libgcrypt"
|
|
arch=(x86_64)
|
|
url="https://www.gnupg.org"
|
|
license=(LGPL-2.1-or-later
|
|
'BSD-3-Clause OR LGPL-2.1-or-later'
|
|
FSFULLR
|
|
GPL-2.0-or-later)
|
|
depends=('glibc' 'sh')
|
|
source=(https://www.gnupg.org/ftp/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2{,.sig})
|
|
# https://www.gnupg.org/download/integrity_check.html
|
|
sha256sums=('69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a'
|
|
'SKIP')
|
|
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
|
|
validpgpkeys+=('AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
autoreconf -vfi
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}/" install
|
|
install -vDm 644 COPYING{,.LIB} -t "${pkgdir}"/usr/share/licenses/${pkgname}/
|
|
}
|