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

Giovanni Scafora giovanni at archlinux.org
Mon Nov 28 12:28:17 EST 2011


    Date: Monday, November 28, 2011 @ 12:28:16
  Author: giovanni
Revision: 143726

upgpkg: dmidecode 2.11-2

rebuild

Modified:
  dmidecode/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-28 17:17:42 UTC (rev 143725)
+++ PKGBUILD	2011-11-28 17:28:16 UTC (rev 143726)
@@ -4,18 +4,23 @@
 
 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
+}



More information about the arch-commits mailing list