summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 683a1681ca79d0bca8cb0832c5e21685dc1410b8 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Lukas Sabota <LTsmooth42 _at_ gmail _dot_ com>

pkgname=fceux-git
pkgver=e8c61d1b
pkgrel=1
pkgdesc="Fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
arch=('i686' 'x86_64')
url="http://fceux.com/"
license=('GPL')
depends=('sdl' 'lua51' 'gtk2' 'gd' 'libgl')
makedepends=('git' 'scons' 'libgl' 'glu')
optdepends=('xchm: for viewing the help manual')
provides=('fceux')
conflicts=('fceux')
source=(git://github.com/TASVideos/fceux.git)
md5sums=('SKIP')

pkgver() {
  cd fceux
  git describe --always| sed 's/-/./g'
}


build() {
  cd fceux

  scons RELEASE=1
}

package() {
  cd fceux

  install -D -m755 bin/fceux "$pkgdir/usr/bin/fceux"
  install -D -m755 bin/fceux-net-server "$pkgdir/usr/bin/fceux-net-server"
  install -D -m644 bin/fceux.chm "$pkgdir/usr/share/doc/fceux/fceux.chm"
  install -D -m644 "fceux.desktop" "$pkgdir/usr/share/applications/fceux.desktop"
  install -D -m644 "fceux.png" "$pkgdir/usr/share/pixmaps/fceux.png"
}