summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/fceu/PKGBUILD
blob: cdae29a549cdb814ec2df0bb065719e5b9348426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Jo Christian Bergskås <jcberg@gmail.com>

pkgname=fceu
pkgver=0.98.15
pkgrel=1
pkgdesc="FCE Ultra is a fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support."
arch=('i686' 'x86_64')
url="http://fceultra.sourceforge.net"
license="GPL"
options=('docs')
depends=('sdl' 'zlib')
source=(ftp://ftp.knoppmyth.net/R6/sources/$pkgname-$pkgver-src.tar.bz2)
md5sums=('bfe9aa7f91c19fa17bb6e5424dc5901b')

build() {
  cd $startdir/src/fceu
  ./configure --prefix=/usr --with-opengl --build=i686-linux-gnu
  make || return 1
  make DESTDIR=$startdir/pkg install
  install -D -m644 $startdir/src/fceu/Documentation/fceu-sdl.6 $startdir/pkg/usr/man/man6/fceu.6
  install -d $startdir/pkg/usr/share/doc/fceu-doc
  cp -r $startdir/src/fceu/Documentation/* $startdir/pkg/usr/share/doc/fceu-doc
}