updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / xroar / PKGBUILD
blob6973c61c218916919bac2b1d0e854770f5dfadb0
1 # Contributor: Vaino Helminen <vah78@yahoo.com>
2 pkgname=xroar
3 pkgver=0.24
4 pkgrel=1
5 pkgdesc="A Dragon and Tandy CoCo emulator."
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 url="http://www.6809.org.uk/dragon/xroar.shtml"
9 depends=('gtk2' 'sdl' 'libgl' 'libsndfile')
10 makedepends=('imagemagick')
11 install=xroar.install
12 source=(http://www.6809.org.uk/dragon/$pkgname-$pkgver.tar.gz
13         xroar.desktop)
14 md5sums=('2ed30f4ec8ef2c2e54ef25f7f8d95ce6'
15          'b72be2c92759966c932b6e61c1ae4fef')
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   ./configure --prefix=/usr --disable-jack || return 1
20   make || return 1
21   install -D -m 755 xroar $pkgdir/usr/bin/xroar || return 1
22   convert gp32/icon.bmp xroar.png
23   install -D -m 644 xroar.png $pkgdir/usr/share/pixmaps/xroar.png || return 1
24   install -D -m 644 ../xroar.desktop $pkgdir/usr/share/applications/xroar.desktop || return 1
25   mkdir -p $pkgdir/usr/share/xroar/roms