summaryrefslogtreecommitdiff
path: root/extra/mhash
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-07 22:35:21 +0000
committerroot <root@rshg047.dnsready.net>2011-05-07 22:35:21 +0000
commitfe6dc99352fe2b801d251e55b2b8baa71441908e (patch)
treeb57122dcf7e7901a912aaf1783a7c8b9a4bd1085 /extra/mhash
parentb0145a13655cdf02f228f07b376e58a825e28b78 (diff)
Sat May 7 22:35:21 UTC 2011
Diffstat (limited to 'extra/mhash')
-rw-r--r--extra/mhash/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/extra/mhash/PKGBUILD b/extra/mhash/PKGBUILD
index 30862296f..3c2f7b732 100644
--- a/extra/mhash/PKGBUILD
+++ b/extra/mhash/PKGBUILD
@@ -1,22 +1,27 @@
-# $Id: PKGBUILD 27643 2009-02-24 05:16:32Z eric $
-# Maintainer: gregor <gregor@archlinux.org>
+# $Id: PKGBUILD 122885 2011-05-07 03:21:34Z 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=1
-pkgdesc="A thread-safe hash library which provides a uniform interface to hash algorithms (MD5, SHA-1, HAVAL, etc"
+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)
+source=(http://downloads.sourceforge.net/sourceforge/mhash/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f91c74f9ccab2b574a98be5bc31eb280')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-static || return 1
- make || return 1
- make prefix=$pkgdir/usr install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}