desktop/mupen64plus/PKGBUILD
2016-05-05 19:03:30 +01:00

27 lines
929 B
Bash

pkgname=mupen64plus
pkgver=2.5
pkgrel=3
pkgdesc='Nintendo64™ Emulator.'
arch=('x86_64')
url='http://www.mupen64plus.org/'
license=('GPL3')
depends=('boost-libs' 'freetype2' 'mesa' 'libpng' 'libsamplerate' 'sdl_image' 'sdl_mixer' 'glu')
optdepends=('m64py: for graphical interface')
makedepends=('boost')
categories=('system')
screenshot='http://mupen64plus.googlecode.com/svn/wiki/Screenshot-01-PaperMario.png'
source=("https://github.com/mupen64plus/mupen64plus-core/releases/download/$pkgver/mupen64plus-bundle-src-$pkgver.tar.gz")
sha256sums=('9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66')
build() {
cd $srcdir/$pkgname-bundle-src-$pkgver
sh m64p_build.sh
}
package() {
cd $srcdir/$pkgname-bundle-src-$pkgver
# Set LDCONFIG since we are using fakeroot and scripts. Run root commands by checking the uid.
./m64p_install.sh DESTDIR=$pkgdir PREFIX=/usr MANDIR=/usr/share/man LDCONFIG=true
}