23 lines
818 B
Bash
23 lines
818 B
Bash
# Template file for 'nestopia'
|
|
pkgname=nestopia
|
|
version=1.47
|
|
revision=3
|
|
wrksrc="rdanbrook-nestopia-549c072"
|
|
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=d6d374430a39d00ad0075f1253c82fce577f51241560c0e06ba805a6a1cbb1e7
|
|
|
|
do_build() {
|
|
sed -i Makefile -e "s;^LDFLAGS =.*;LDFLAGS = $LDFLAGS;"
|
|
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
|
|
}
|
|
do_install() {
|
|
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
|
|
make PREFIX=${DESTDIR}/usr install
|
|
}
|