diff options
author | Jason Ryan | 2015-06-08 21:47:13 +1200 |
---|---|---|
committer | Jason Ryan | 2015-06-08 21:47:13 +1200 |
commit | 8823a32b688997704b32378077756fcc69ffd654 (patch) | |
tree | 795884e49a86413baadac4caf8de763880abaa39 /PKGBUILD | |
download | aur-8823a32b688997704b32378077756fcc69ffd654.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6fb8c4664bf0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: jason ryan <jasonwryan@gmail.com> + +pkgname=v86d +pkgver=0.1.10 +pkgrel=5 +pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment" +arch=('i686' 'x86_64') +url="https://github.com/mjanusz/v86d" +license=('GPL2') +depends=('glibc') +makedepends=('git') +options=('!makeflags') +source=("git://github.com/mjanusz/v86d.git#tag=$pkgname-$pkgver" + v86d_install + v86d_hook + modprobe.uvesafb) +md5sums=(SKIP + '66ab32602ab29cc5635eaac7f3e42283' + '5f75b8bc4a7ddf595014591e5db263cb' + '2d7cc8dc6a41916a13869212d0191147') + +build() { + cd "$pkgname" + ./configure --with-x86emu + # we only need /usr/include/video/uvesafb.h + make KDIR=/usr +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir" install + + install -D -m644 "$srcdir/v86d_install" "$pkgdir/usr/lib/initcpio/install/v86d" + install -D -m644 "$srcdir/v86d_hook" "$pkgdir/usr/lib/initcpio/hooks/v86d" + install -D -m644 "$srcdir/modprobe.uvesafb" "$pkgdir/usr/lib/modprobe.d/uvesafb.conf" + + # usrmove + cd "$pkgdir" + mv sbin usr/bin +} |