summaryrefslogtreecommitdiff
path: root/extra/mhash/PKGBUILD
blob: 8227d8250e0bbdbf620afb3b20e14437f4e25984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 197559 2013-10-26 22:44:00Z eric $
# Contributor: gregor <gregor@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=mhash
pkgver=0.9.9.9
pkgrel=3
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')
source=(http://downloads.sourceforge.net/sourceforge/mhash/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f91c74f9ccab2b574a98be5bc31eb280')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}