summaryrefslogtreecommitdiff
path: root/testing/v86d/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/v86d/PKGBUILD')
-rw-r--r--testing/v86d/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/v86d/PKGBUILD b/testing/v86d/PKGBUILD
new file mode 100644
index 000000000..5e3bb7af1
--- /dev/null
+++ b/testing/v86d/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 129979 2011-06-30 18:07:08Z thomas $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+
+pkgname=v86d
+pkgver=0.1.10
+pkgrel=2
+pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
+arch=('i686' 'x86_64')
+url="http://dev.gentoo.org/~spock/projects/uvesafb/"
+license=('GPL2')
+depends=('glibc')
+conflicts=('mkinitcpio<0.7')
+backup=('etc/modprobe.d/uvesafb.conf')
+options=('!makeflags')
+source=(http://dev.gentoo.org/~spock/projects/uvesafb/archive/v86d-$pkgver.tar.bz2
+ v86d
+ v86d_hook
+ modprobe.uvesafb)
+md5sums=('51c792ba7b874ad8c43f0d3da4cfabe0'
+ '2748ca01397e5c4435f87692f7d042a8'
+ '813958b8f6c75a7063e4858f31509694'
+ '2d7cc8dc6a41916a13869212d0191147')
+
+build() {
+ cd "$srcdir/v86d-$pkgver"
+ ./configure --with-x86emu
+ # we only need /usr/include/video/uvesafb.h
+ make KDIR=/usr
+}
+
+package() {
+ cd "$srcdir/v86d-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ install -D -m644 "$srcdir/v86d" "$pkgdir/lib/initcpio/install/v86d"
+ install -D -m644 "$srcdir/v86d_hook" "$pkgdir/lib/initcpio/hooks/v86d"
+ install -D -m644 "$srcdir/modprobe.uvesafb" "$pkgdir/etc/modprobe.d/uvesafb.conf"
+}