From 9b02f79cac1b37a36a6be3bd658a693369fccc62 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 26 Nov 2012 08:48:28 -0600
Subject: dmidecode: 2.11

---
 abs/core/dmidecode/PKGBUILD | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/abs/core/dmidecode/PKGBUILD b/abs/core/dmidecode/PKGBUILD
index cb42b03..40723eb 100644
--- a/abs/core/dmidecode/PKGBUILD
+++ b/abs/core/dmidecode/PKGBUILD
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD 19464 2008-11-23 22:53:14Z giovanni $
+# $Id: PKGBUILD 143727 2011-11-28 17:28:42Z giovanni $
 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
 # Contributor: Jan de Groot <jgc@archlinux.org>
 
 pkgname=dmidecode
-pkgver=2.10
-pkgrel=1
+pkgver=2.11
+pkgrel=2
 pkgdesc="Desktop Management Interface table related utilities"
 arch=('i686' 'x86_64')
 url="http://www.nongnu.org/dmidecode"
 license=('GPL')
 depends=('glibc')
-source=(http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('3c9c4d55a40b78600f3b43bfa64616f9')
+source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  make prefix=/usr || return 1
-  make prefix=/usr DESTDIR=${startdir}/pkg install
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make prefix=/usr
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make prefix=/usr DESTDIR=${pkgdir} install
 }
+md5sums=('535487cc041f2db746587cf40a2059f0')
-- 
cgit v0.12