# $Id: PKGBUILD 12853 2008-09-22 17:17:27Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=libgcrypt pkgver=1.4.3 pkgrel=2 pkgdesc="a general purpose crypto library based on the code used" arch=(i686 x86_64) url="http://www.gnupg.org" license=('LGPL') groups=('base') depends=('libgpg-error>=1.6' 'texinfo') options=(!libtool) source=(#ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2 ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2) md5sums=('46e50e811ed51f1e0e8dd677dded967d') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --disable-padlock-support --disable-static make || return 1 make DESTDIR=${pkgdir} install || return 1 rm -f ${pkgdir}/usr/share/info/dir }