mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:07:14 +08:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname="v86d"
|
|
pkgver=0.1.10
|
|
pkgrel=2
|
|
pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
|
|
url="http://dev.gentoo.org/~spock/projects/uvesafb/"
|
|
license=('GPL2')
|
|
arch=("x86_64")
|
|
depends=('glibc')
|
|
backup=(etc/modprobe.d/uvesafb.conf)
|
|
source=("https://github.com/mjanusz/v86d/archive/v86d-${pkgver}.tar.gz"
|
|
v86d_install
|
|
v86d_hook
|
|
modprobe.uvesafb)
|
|
md5sums=('f9e583d399b1f0513dc06adcc7b479da'
|
|
'66ab32602ab29cc5635eaac7f3e42283'
|
|
'813958b8f6c75a7063e4858f31509694'
|
|
'2d7cc8dc6a41916a13869212d0191147')
|
|
options=(!makeflags)
|
|
|
|
build() {
|
|
cd "$srcdir/v86d-86d-$pkgver"
|
|
./configure --with-x86emu
|
|
# we only need /usr/include/video/uvesafb.h
|
|
make KDIR=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/v86d-86d-$pkgver"
|
|
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
|
|
}
|