diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 11 insertions, 10 deletions
@@ -1,13 +1,13 @@ pkgbase = fceux-git pkgdesc = Fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support - pkgver = e8c61d1b + pkgver = 2.2.3.1633.gf333a62d pkgrel = 1 url = http://fceux.com/ arch = i686 arch = x86_64 license = GPL makedepends = git - makedepends = scons + makedepends = cmake makedepends = libgl makedepends = glu depends = sdl @@ -1,14 +1,14 @@ # Maintainer: Lukas Sabota <LTsmooth42 _at_ gmail _dot_ com> pkgname=fceux-git -pkgver=e8c61d1b +pkgver=2.2.3.1633.gf333a62d 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') +makedepends=('git' 'cmake' 'libgl' 'glu') optdepends=('xchm: for viewing the help manual') provides=('fceux') conflicts=('fceux') @@ -17,22 +17,23 @@ md5sums=('SKIP') pkgver() { cd fceux - git describe --always| sed 's/-/./g' + git describe --always| sed 's/-/./g' | sed 's/fceux.//' } build() { cd fceux - - scons RELEASE=1 + mkdir -p build + cd build + cmake ../ + make } 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 -m755 build/src/fceux "$pkgdir/usr/bin/fceux" + install -D -m644 output/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" } |