# $Id: PKGBUILD 122885 2011-05-07 03:21:34Z eric $ # Contributor: gregor # Contributor: Tom Newsom # Maintainer: Daniel J Griffiths pkgname=mhash pkgver=0.9.9.9 pkgrel=2 pkgdesc="A thread-safe hash library which provides a uniform interface to hash algorithms (MD5, SHA1, HAVAL, etc)" arch=('i686' 'x86_64') url="http://mhash.sourceforge.net/" license=('LGPL') depends=('glibc') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/mhash/${pkgname}-${pkgver}.tar.bz2) md5sums=('f91c74f9ccab2b574a98be5bc31eb280') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --enable-static make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }