void-packages/srcpkgs/nestopia/template

22 lines
752 B
Plaintext

# Template file for 'nestopia'
pkgname=nestopia
version=1.46
revision=1
wrksrc="rdanbrook-nestopia-6d122f4"
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
hostmakedepends="pkg-config"
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
depends="desktop-file-utils"
short_desc="NES/Famicom emulator designed to emulate the NES hardware accurately"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=033993f64c5d81b05865d466d2f3149c2fa17c7a5ff6fa5f22abf5ef76a50f05
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install
}