updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / plus4emu / PKGBUILD
blob81ff1555912635f713b8415a33f64e0a1fdca0c4
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=plus4emu
4 pkgver=1.2.9.2
5 pkgrel=1
6 pkgdesc="An emulator of the Commodore 264 computers family (Plus/4, C16 and C116)"
7 arch=('i686' 'x86_64')
8 url="http://$pkgname.sourceforge.net/"
9 license=('GPL')
10 depends=('mesa' 'libgl' 'sdl>=1.2' 'portaudio>=18' 'fltk>=1.1')
11 makedepends=('scons')
12 install=$pkgname.install
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
14 md5sums=('3b71aed343a341f62e688dd5bc5b9d1f')
16 build() {
17   cd $pkgname-$pkgver
19   scons || return 1
21   install -Dm755 makecfg "$pkgdir"/usr/bin/p4makecfg
22   install -m755 p4sconv plus4emu tapconv "$pkgdir"/usr/bin/
23   mkdir -p "$pkgdir"/usr/share/$pkgname
24   cp -rf roms/ "$pkgdir"/usr/share/$pkgname/