void-packages/srcpkgs/nestopia/template

22 lines
757 B
Bash

# Template file for 'nestopia'
pkgname=nestopia
version=1.46.2
revision=1
wrksrc="rdanbrook-nestopia-97eab76"
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@voidlinux.eu>"
license="GPL-2"
homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=512a2158311fc081bfc7e217f378b44a3843fe01f34a37b29d32c01507f465c1
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install
}