From ca4e9fc407e8b09b5e5be4b5da4e94b47cd42233 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 01:49:47 +0000
Subject: vbetool: upgrade

---
 abs/core/vbetool/PKGBUILD | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/abs/core/vbetool/PKGBUILD b/abs/core/vbetool/PKGBUILD
index 9b279e6..244babc 100644
--- a/abs/core/vbetool/PKGBUILD
+++ b/abs/core/vbetool/PKGBUILD
@@ -1,32 +1,31 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: James Rayner <james@archlinux.org>
+# $Id: PKGBUILD 19227 2008-11-17 22:22:42Z thayer $
 # Contributor: Christian Storm <Christian.Storm@gmx.DE>
+# Contributor: James Rayner <james@archlinux.org>
+# Maintainer: Thayer Williams <thayer@archlinux.org>
+
 pkgname=vbetool
-pkgver=1.0
-pkgrel=2
+pkgver=1.1
+pkgrel=1
 pkgdesc="vbetool uses lrmi in order to run code from the video BIOS"
-arch=('i686' 'x86_64')
 url="http://www.srcf.ucam.org/~mjg59/vbetool/"
 license=('GPL2')
+arch=('i686' 'x86_64')
 depends=('zlib' 'libx86')
 makedepends=('pciutils')
 source=(http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-${pkgver}.tar.gz)
-
+md5sums=('ffb03b118867a02296d7449019ad8846')
 
 build() {
-  cd $startdir/src/vbetool-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   if [ "${CARCH}" = "x86_64" ]; then
-    ./configure --prefix=/usr --without-x86emu
+    ./configure --prefix=/usr --without-x86emu || return 1
   else
-    ./configure --prefix=/usr
+    ./configure --prefix=/usr || return 1
   fi
   make LIBS=-lpci || return 1
-  make DESTDIR=$startdir/pkg install
+}
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install || return 1
 }
 
-
-
-
-
-
-md5sums=('e57b5475b8200e3c44df7f53f0fbdc72')
-- 
cgit v0.12

