[arch-commits] Commit in mhash/trunk (PKGBUILD)

Daniel Griffiths dgriffiths at archlinux.org
Fri Apr 9 06:22:58 UTC 2010


    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 <gregor at archlinux.org>
+# Contributor: gregor <gregor at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Maintainer: Daniel J Griffiths <ghost1227 at 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
+}




More information about the arch-commits mailing list