summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d57f10463b5139c0dac108ce0d7b7e9d79f2681 (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
# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
# Maintainer: aimileus < me at aimileus dot nl >
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
# Contributor: robb_force <robb_force@holybuffalo.net>

pkgname=nestopia
pkgver=1.48
pkgrel=1
pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.'
url='http://0ldsk00l.ca/nestopia/'
license=('GPL')
arch=('x86_64')
depends=('sdl2' 'alsa-lib' 'gtk3' 'glu' 'libarchive' 'libao')
makedepends=('unzip' 'mesa' 'xdg-utils' 'cmake' 'git')
source=("git+https://github.com/rdanbrook/nestopia.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
  cd "$pkgname"
  autoreconf -vif
  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname"
  make install DESTDIR="$pkgdir"
}