diff options
Diffstat (limited to 'extra/vbetool/PKGBUILD')
-rw-r--r-- | extra/vbetool/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/vbetool/PKGBUILD b/extra/vbetool/PKGBUILD new file mode 100644 index 000000000..0122f4130 --- /dev/null +++ b/extra/vbetool/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 19267 2008-11-18 03:22:15Z eric $ +# 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') +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 +} + |