diff options
author | Liu Hao | 2019-12-09 14:11:30 +0800 |
---|---|---|
committer | Liu Hao | 2019-12-09 14:11:30 +0800 |
commit | 9d99aa4a3c738b1bf7d1c2947717aafec095e9c0 (patch) | |
tree | 4d74d3435aa27bdac31897b2368f6ae629a5adaa /PKGBUILD | |
download | aur-fceux-gtk3-git.tar.gz |
init fceux-gtk3 PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..20a162829caa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Lukas Sabota <LTsmooth42 _at_ gmail _dot_ com> + +pkgname=fceux-gtk3-git +pkgver=749567a +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' 'lua52' 'gtk3' '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 GTK3=1 GTK=0 +} + +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" +} |