nestopia: unbreak build (#1779)

This commit is contained in:
Juan RP 2015-06-13 09:54:30 +02:00
parent 1eb9da08ad
commit 4b403ddebf

View file

@ -1,10 +1,8 @@
# Template file for 'nestopia'
pkgname=nestopia
version=1.46.2
revision=1
revision=2
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"
@ -15,6 +13,9 @@ homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=512a2158311fc081bfc7e217f378b44a3843fe01f34a37b29d32c01507f465c1
do_build() {
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
}
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install