# $Id: PKGBUILD 22309 2008-12-25 19:07:27Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Notice: # When building a new major version, build, install, build again. # pkgname=gnutls pkgver=2.6.3 pkgrel=1 pkgdesc="A library which provides a secure layer over a reliable transport layer" arch=(i686 x86_64) license=('GPL3' 'LGPL') url="http://www.gnu.org/software/gnutls/" install=gnutls.install options=('libtool') depends=('gcc-libs>=4.3.2' 'libtasn1>=1.7' 'readline' 'zlib' 'libgcrypt>=1.4.3') source=(ftp://ftp.gnutls.org/pub/gnutls/${pkgname}-${pkgver}.tar.bz2) md5sums=('c6d2d1996b87b238ad6f73f92225d9a2') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --with-zlib --disable-guile || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 rm -f "${pkgdir}/usr/share/info/dir" }