1 # Contributor: Boris Timofeev <mashin87@gmail.com>
5 pkgdesc="A Dragon and Tandy CoCo emulator."
8 url="http://www.6809.org.uk/dragon/xroar.shtml"
9 depends=('gtk2' 'sdl' 'libgl' 'libsndfile')
10 makedepends=('imagemagick')
12 source=(http://www.6809.org.uk/dragon/$pkgname-$pkgver.tar.gz
14 md5sums=('b1143058297fc44b1348d5b9d82b0c5f'
15 'b72be2c92759966c932b6e61c1ae4fef')
19 cd $srcdir/$pkgname-$pkgver
20 ./configure --prefix=/usr --disable-jack || return 1
21 sed -e 's|LDFLAGS =|LDFLAGS = -lm|g' -i config.mak
26 cd $srcdir/$pkgname-$pkgver
27 install -D -m 755 xroar $pkgdir/usr/bin/xroar || return 1
28 convert gp32/icon.bmp xroar.png
29 install -D -m 644 xroar.png $pkgdir/usr/share/pixmaps/xroar.png || return 1
30 install -D -m 644 ../xroar.desktop $pkgdir/usr/share/applications/xroar.desktop || return 1
31 mkdir -p $pkgdir/usr/share/xroar/roms
32 gzip ./doc/xroar.info || return 1
33 install -D -m 644 ./doc/xroar.info.gz $pkgdir/usr/share/info/xroar.info.gz