blob: 68fe04baf6be7a87bb00c7d774018a499c3d5a6d (
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: prg <prg-archlinux _at_ xannode _dot com>
pkgname=fceux-git
pkgver=2.3.0.17.gc6752c41
pkgrel=2
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' 'pkgconf' 'mesa-libgl' 'glu')
optdepends=('xchm: for viewing the help manual')
provides=('fceux')
conflicts=('fceux')
source=(git+https://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
}
|