summaryrefslogtreecommitdiff
path: root/community/vbetool/PKGBUILD
blob: 60c40c6d50f4a9fe0eceb10a25325645b47d3a56 (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
29
30
31
32
# $Id: PKGBUILD 114949 2014-07-05 01:31:53Z cbehan $
# Maintainer: Connor Behan <connor.behan@gmail.com>
# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Christian Storm <Christian.Storm@gmx.DE>
# Contributor: James Rayner <james@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>

pkgname=vbetool
pkgver=1.2.2
pkgrel=1
pkgdesc="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' 'libpciaccess')
makedepends=('pciutils')
source=("http://cgit.freedesktop.org/~airlied/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz"
        'no_x86_check.patch')
md5sums=('SKIP'
         'f4abc1181c0cda966626cbe5872d678f')

build() {
  cd "${srcdir}"/$pkgname-$pkgver
  patch -Np1 -i ../no_x86_check.patch
  ./autogen.sh --prefix=/usr --sbindir=/usr/bin
  make LIBS=-lpci
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver
  make DESTDIR="${pkgdir}" install
}