void-packages/srcpkgs/xnp2/template

28 lines
721 B
Bash

# Template file for 'xnp2'
pkgname=xnp2
version=0.86
revision=2
build_wrksrc=x11
build_style=gnu-configure
configure_args="--enable-ia32 --enable-build-all"
hostmakedepends="pkg-config nasm"
makedepends="gtk+-devel SDL2-devel"
short_desc="Port for UNIX with X11 of the Neko Project II PC-9801 emulator"
maintainer="hipperson0 <hipperson0@gmail.com>"
license="BSD-2-Clause"
homepage="https://www.nonakap.org/np2"
distfiles="https://www.nonakap.org/np2/release/xnp2-${version}.tar.bz2"
checksum=e0b8c93f54682a4b3373907fd9ffe78094f95f7430dffc5038eccbcc4c3f78fd
do_install() {
vbin xnp2
vbin xnp21
vman xnp2.1
vman xnp2.1j
vman xnp21.1
vman xnp21.1j
vdoc README.ja
sed '/\*\//q' main.c > LICENSE
vlicense LICENSE
}