# $Id: PKGBUILD 203576 2014-01-13 17:12:07Z andyrtr $ # Maintainer: Eric BĂ©langer pkgname=gsasl pkgver=1.8.0 pkgrel=4 pkgdesc="Simple Authentication and Security Layer framework and a few common SASL mechanisms" arch=('i686' 'x86_64') url="http://josefsson.org/gsasl/" license=('GPL') depends=('gnutls' 'libidn' 'krb5' 'libgcrypt') install=gsasl.install source=(ftp://ftp.gnu.org/gnu/gsasl/${pkgname}-${pkgver}.tar.gz) sha1sums=('343fd97ae924dc406986c02fb9b889f4114239ae') prepare() { cd ${pkgname}-${pkgver} sed -i 's|error too old libgcrypt|/*error too old libgcrypt*/|' lib/configure } build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --with-gssapi-impl=mit make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }