aboutsummaryrefslogtreecommitdiffstats
path: root/main/v86d/APKBUILD
blob: 4e01aa78517143110b0848ede79d9250f026348f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=v86d
pkgver=0.1.10
pkgrel=1
pkgdesc="Userspace helper for uvesafb that runs x86 code in an emulated environment"
url="https://github.com/mjanusz/v86d"
arch="x86 x86_64"
license="GPL-2.0"
depends=""
makedepends="bash linux-headers"
source="v86d-$pkgver.tar.gz::https://github.com/mjanusz/v86d/archive/v86d-$pkgver.tar.gz
		modprobe.uvesafb"

_builddir="$srcdir"/v86d-86d-$pkgver
build () {
	cd "$_builddir"
	./configure \
		--with-x86emu \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 "$srcdir"/modprobe.uvesafb "$pkgdir"/etc/modprobe.d/uvesafb || return 1
}

sha512sums="148b1676d932d1207da396defeae0fc39b664139eca5f29be98ceedc33e89566f7c35057df93249303c8e2c1bff0427430a077f88a85997e62ea96c29b5db9d1  v86d-0.1.10.tar.gz
62531b3730d94c066890448318407d6de1ec17789e677e99a3e837bf6f66d6d19d0c89fc0ef3eb452726eb60938d590895a786b285a70ec98e85bffa270879ed  modprobe.uvesafb"