void-packages/srcpkgs/mupen64plus/template
2014-11-28 20:04:22 +00:00

25 lines
882 B
Text

# Template file for 'mupen64plus'
pkgname=mupen64plus
version=2.0
revision=2
wrksrc="mupen64plus-bundle-src-${version}"
hostmakedepends="pkg-config"
makedepends="boost-devel SDL-devel freetype-devel glu-devel libpng-devel libsamplerate-devel"
depends="desktop-file-utils"
short_desc="A Nintendo64 Emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://code.google.com/p/mupen64plus/"
update_pattern=$pkgname'-bundle-src-\K[\d.]+(?=\.tar\.gz)'
distfiles="http://mupen64plus.googlecode.com/files/mupen64plus-bundle-src-${version}.tar.gz"
checksum=2a269ca77797d7eb3759cbbfecbdc1d985e773e5be155d469c13f034e37e7e4d
only_for_archs="i686 x86_64"
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
}