updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / realityboy / PKGBUILD
blob740e18fa233a86ea47db66c590e0615c3c4b1d09
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=realityboy
4 pkgver=0.84
5 pkgrel=1
6 pkgdesc="The one and only emulator of Nintendo's Virtual Boy console"
7 arch=('i686' 'x86_64')
8 url="http://www.goliathindustries.com/vb/"
9 license=('custom')
10 depends=('allegro' 'gcc-libs')
11 makedepends=('gcc34')
12 source=(http://www.goliathindustries.com/vb/download/emu/rboy_084_src.zip \
13         LICENSE)
14 md5sums=('38bfe12d32ac868bd808e378c95a6aff'
15          '0ca9ba3ed006d95eb7b600658521266e')
17 build() {
18   cd linux
20   # overriding cflags to avoid 3.4 erroring out due to march parameter
21   make  CC=g++-3.4 \
22         WFLAGS= \
23         OFLAGS="-O2" \
24         || return 1
26   install -Dm755 rboy_linux "$pkgdir"/usr/bin/$pkgname
27   install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE