pkgname=gnutls pkgver=3.8.8 _pkgver=3.8 pkgrel=1 pkgdesc="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them" arch=('x86_64') license=('GPL3' 'LGPL') url="https://www.gnutls.org/" options=('libtool') depends=('brotli' 'gcc-libs' 'libtasn1' 'readline' 'zlib' 'texinfo' 'nettle' 'p11-kit' 'libidn2' 'libunistring') makepends=('valgrind' 'strace') source=("https://www.gnupg.org/ftp/gcrypt/gnutls/v${_pkgver}/${pkgname}-${pkgver}.tar.xz" "https://gitlab.com/gnutls/gnutls/-/commit/c061da4fd42eb98ec3ac4e80a75e63924e21b437.diff") md5sums=('410d73daaeb1c0db9c12b617e97062c4' '7868ca2e2fc19f5676faa3677c76db93') build() { cd ${pkgname}-${pkgver} #patch -p1 -i ${srcdir}/c061da4fd42eb98ec3ac4e80a75e63924e21b437.diff ./configure --prefix=/usr \ --disable-guile \ --disable-static \ --with-default-trust-store-pkcs11="pkcs11:" make } check() { cd ${pkgname}-${pkgver} # no FAIL make check } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }