# Maintainer: Natanael Copa pkgname=libgcrypt pkgver=1.10.2 pkgrel=2 pkgdesc="General purpose crypto library based on the code used in GnuPG" url="https://www.gnupg.org/" arch="all" license="LGPL-2.1-or-later AND GPL-2.0-or-later" makedepends="libgpg-error-dev texinfo" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-$pkgver.tar.bz2" # secfixes: # 1.9.4-r0: # - CVE-2021-33560 # 1.8.5-r0: # - CVE-2019-13627 # 1.8.4-r2: # - CVE-2019-12904 # 1.8.3-r0: # - CVE-2018-0495 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-static make } check() { make check } package() { make DESTDIR="$pkgdir" install rm -f $pkgdir/usr/share/info/dir } dev() { default_dev amove usr/bin/* } sha512sums=" 3a850baddfe8ffe8b3e96dc54af3fbb9e1dab204db1f06b9b90b8fbbfb7fb7276260cd1e61ba4dde5a662a2385385007478834e62e95f785d2e3d32652adb29e libgcrypt-1.10.2.tar.bz2 "