# Maintainer: gee pkgname=higan-bsnes pkgver=113.1 pkgverR=113r1 pkgrel=1 pkgdesc='Nintendo SNES emulator, faster official flavor of higan' arch=('x86_64') url='http://byuu.org/' license=('GPL3') depends=('alsa-lib' 'cairo' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk2' 'gtksourceview2' 'libao' 'libgl' 'libpulse' 'libx11' 'libxext' 'libxv' 'openal' 'pango' 'sdl' 'libudev.so') conflicts=('bsnes' 'bsnes-classic') source=("https://download.byuu.org/bsnes_v${pkgverR}-source.zip") sha256sums=('b90570e2c7840c642730e7e91ae37035eca7e3f664a709e8ab988887b97ef2b2') #root issue in package prepare() { cd bsnes_v${pkgverR}-source/bsnes/target-bsnes sed -i "43,44d" GNUmakefile #sed -i '43s/^.....//' GNUmakefile } build() { cd bsnes_v${pkgverR}-source/bsnes make } package() { cd bsnes_v${pkgverR}-source/bsnes make prefix="${pkgdir}/usr" install #install -Dm 755 out/bsnes -t "${pkgdir}"/usr/bin/ #install -Dm 644 target-bsnes/resource/bsnes.desktop -t "${pkgdir}"/usr/share/applications/ #install -Dm 644 target-bsnes/resource/bsnes.png -t "${pkgdir}"/usr/share/pixmaps/ }