aboutsummaryrefslogtreecommitdiffstats
path: root/main/v86d/APKBUILD
blob: 905a1564a1e251b82a5e542da64c1c14e4da4127 (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
33
34
# 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
}

md5sums="f9e583d399b1f0513dc06adcc7b479da  v86d-0.1.10.tar.gz
2d7cc8dc6a41916a13869212d0191147  modprobe.uvesafb"
sha256sums="af7aa28216c0242388575adcfc030af9a15851a52d65697267852496d1bd96ba  v86d-0.1.10.tar.gz
5d5949ec23a546d1468327e5496e8cc2b0b2015b84ff8bedb6d0b462df59bd19  modprobe.uvesafb"
sha512sums="148b1676d932d1207da396defeae0fc39b664139eca5f29be98ceedc33e89566f7c35057df93249303c8e2c1bff0427430a077f88a85997e62ea96c29b5db9d1  v86d-0.1.10.tar.gz
62531b3730d94c066890448318407d6de1ec17789e677e99a3e837bf6f66d6d19d0c89fc0ef3eb452726eb60938d590895a786b285a70ec98e85bffa270879ed  modprobe.uvesafb"