void-packages/srcpkgs/nestopia/template

23 lines
763 B
Bash
Raw Normal View History

2014-05-28 18:49:25 +00:00
# Template file for 'nestopia'
pkgname=nestopia
2014-12-07 17:49:01 +00:00
version=1.46.2
2015-06-13 07:54:30 +00:00
revision=2
2014-12-07 17:49:01 +00:00
wrksrc="rdanbrook-nestopia-97eab76"
2014-05-28 18:49:25 +00:00
hostmakedepends="pkg-config"
2014-09-02 16:12:08 +00:00
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
2014-05-28 18:49:25 +00:00
depends="desktop-file-utils"
short_desc="NES/Famicom emulator designed to emulate the NES hardware accurately"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-05-28 18:49:25 +00:00
license="GPL-2"
homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
2014-12-07 17:49:01 +00:00
checksum=512a2158311fc081bfc7e217f378b44a3843fe01f34a37b29d32c01507f465c1
2014-05-28 18:49:25 +00:00
2015-06-13 07:54:30 +00:00
do_build() {
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
}
2014-05-28 18:49:25 +00:00
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install
}