summaryrefslogtreecommitdiff
path: root/extra/dmidecode
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dmidecode')
-rw-r--r--extra/dmidecode/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/dmidecode/PKGBUILD b/extra/dmidecode/PKGBUILD
index d013758ad..6f5e9ceba 100644
--- a/extra/dmidecode/PKGBUILD
+++ b/extra/dmidecode/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 107032 2011-01-20 17:46:05Z 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.11
-pkgrel=1
+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)
+source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('535487cc041f2db746587cf40a2059f0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix=/usr || return 1
- make prefix=/usr DESTDIR=${pkgdir} install || return 1
+ make prefix=/usr
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix=/usr DESTDIR=${pkgdir} install
}