void-packages/srcpkgs/mupen64plus/template
2016-10-21 00:11:35 +02:00

24 lines
874 B
Bash

# Template file for 'mupen64plus'
pkgname=mupen64plus
version=2.5
revision=5
wrksrc="mupen64plus-bundle-src-${version}"
hostmakedepends="pkg-config"
makedepends="boost-devel SDL-devel speexdsp-devel freetype-devel glu-devel libpng-devel libsamplerate-devel"
depends="desktop-file-utils"
short_desc="A Nintendo64 Emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.mupen64plus.org"
distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${version}/${pkgname}-bundle-src-${version}.tar.gz"
checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
do_build() {
sh m64p_build.sh
}
do_install() {
./m64p_install.sh DESTDIR=${DESTDIR} PREFIX=/usr MANDIR=/usr/share/man
# Remove devel files, not interested on it.
rm -rf ${DESTDIR}/usr/include
}