blob: 1a3fc2ec5f6a86c4d79616c04acef04a6c5f6601 (
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
39
|
# Maintainer: Lukas Sabota <LTsmooth42 _at_ gmail _dot_ com>
pkgname=fceux-git
pkgver=2.3.0.17.gc6752c41
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=('sdl2' 'lua51' 'qt5-base' 'minizip')
makedepends=('git' 'cmake' 'make' 'mesa-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 --tags --always | sed 's/-/./g' | sed 's/fceux.//'
}
build() {
cd fceux
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \
..
make
}
package() {
cd fceux
DESTDIR="$pkgdir" make -C build install
}
|