summaryrefslogtreecommitdiff
path: root/community/vbetool/PKGBUILD
blob: 1cef494b5f4948ef792aa5c6e6a9f0362fc03a33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 46960 2011-05-13 20:41:32Z andrea $
# Contributor: Christian Storm <Christian.Storm@gmx.DE>
# Contributor: James Rayner <james@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>

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' 'mips64el')
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
}