From e69c538fc7af5a9861c7688dd15913082d978180 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 May 2011 22:37:30 +0000 Subject: Sat May 14 22:37:30 UTC 2011 --- community/vbetool/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/vbetool/PKGBUILD (limited to 'community/vbetool/PKGBUILD') diff --git a/community/vbetool/PKGBUILD b/community/vbetool/PKGBUILD new file mode 100644 index 000000000..db48df072 --- /dev/null +++ b/community/vbetool/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 46960 2011-05-13 20:41:32Z andrea $ +# Contributor: Christian Storm +# Contributor: James Rayner +# Maintainer: Thayer Williams + +pkgname=vbetool +pkgver=1.1 +pkgrel=1 +pkgdesc="vbetool uses lrmi in order to run code from the video BIOS" +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 $srcdir/$pkgname-$pkgver + if [ "${CARCH}" = "x86_64" ]; then + ./configure --prefix=/usr --without-x86emu || return 1 + else + ./configure --prefix=/usr || return 1 + fi + make LIBS=-lpci || return 1 + make DESTDIR=$pkgdir install || return 1 +} + -- cgit v1.2.3-54-g00ecf