# $Id: PKGBUILD 35543 2009-04-13 20:57:08Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Notice: # When building a new major version, build, install, build again. # pkgname=gnutls pkgver=2.6.5 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.3' 'libtasn1>=2.0' 'readline' 'zlib' 'libgcrypt>=1.4.4') source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.bz2) md5sums=('92b92c36b616aa8bd69a9a0fb2b8eb24') 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" }