# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=libgsasl pkgver=1.8.0 pkgrel=4 pkgdesc="An implementation of the Simple Authentication and Security Layer framework" url="https://www.gnu.org/software/gsasl/" arch="all" license="LGPL-2.0-or-later" makedepends="libidn-dev libgss-dev libgcrypt-dev" subpackages="$pkgname-dev" source="https://ftp.gnu.org/gnu/gsasl/libgsasl-$pkgver.tar.gz" prepare() { default_prepare update_config_guess } build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-libgcrypt \ --disable-nls make } check() { cd "$builddir" make tests } package() { cd "$builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/*.a } sha512sums="7e591d12404919559bf67590f862270ffcae2030a14097cdaf92820aa79619b3048541e9f83b3fcb98a84622c44a52ecaceeebb1be55b9e9f68fb1790ade8721 libgsasl-1.8.0.tar.gz"