summaryrefslogtreecommitdiffstats
path: root/abs/core/dmidecode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/dmidecode/PKGBUILD')
-rw-r--r--abs/core/dmidecode/PKGBUILD22
1 files 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')