From 09e7f88ae7ada3922b6f93aa0ee8feb99e6a2d92 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Oct 2013 20:43:18 +0100 Subject: [PATCH] New package: mupen64plus-2.0 (a Nintendo64 emulator). --- srcpkgs/mupen64plus/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/mupen64plus/template diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template new file mode 100644 index 00000000000..d6a26aae7a7 --- /dev/null +++ b/srcpkgs/mupen64plus/template @@ -0,0 +1,30 @@ +# Template file for 'mupen64plus' +pkgname=mupen64plus +version=2.0 +revision=1 +wrksrc="mupen64plus-bundle-src-${version}" +hostmakedepends="pkg-config which" +makedepends="boost-devel SDL-devel freetype-devel glu-devel libpng-devel libsamplerate-devel desktop-file-utils" +short_desc="A Nintendo64 Emulator" +maintainer="Juan RP " +license="GPL" +homepage="http://code.google.com/p/mupen64plus/" +distfiles="http://mupen64plus.googlecode.com/files/mupen64plus-bundle-src-${version}.tar.gz" +checksum=2a269ca77797d7eb3759cbbfecbdc1d985e773e5be155d469c13f034e37e7e4d + +do_build() { + sh m64p_build.sh +} + +do_install() { + ./m64p_install.sh DESTDIR=${DESTDIR} PREFIX=/usr MANDIR=/usr/share/man LDCONFIG=true + # Remove devel files, not interested on it. + rm -rf ${DESTDIR}/usr/include +} + +mupen64plus_package() { + depends="desktop-file-utils" + pkg_install() { + vmove all + } +}