Date: Friday, April 9, 2010 @ 02:22:58
  Author: dgriffiths
Revision: 76930

Cleanup, adopted

Modified:
  mhash/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-04-09 06:21:14 UTC (rev 76929)
+++ PKGBUILD    2010-04-09 06:22:58 UTC (rev 76930)
@@ -1,6 +1,7 @@
 # $Id$
-# Maintainer: gregor <gre...@archlinux.org>
+# Contributor: gregor <gre...@archlinux.org>
 # Contributor: Tom Newsom <jeeps...@gmx.co.uk>
+# Maintainer: Daniel J Griffiths <ghost1...@archlinux.us>
 
 pkgname=mhash
 pkgver=0.9.9.9
@@ -11,12 +12,16 @@
 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 || return 1
+       make || return 1
 }
+
+package() {
+       cd ${srcdir}/${pkgname}-${pkgver}
+       make prefix=${pkgdir}/usr install || return 1
+}

Reply via email to