1 # Contributor: jck <jck@archlinux.us>
5 pkgdesc="Brain Workshop is a free open-source version of the Dual N-Back mental exercise"
7 url="http://brainworkshop.sourceforge.net/"
10 depends=('python2' 'avbin' 'openal')
11 source=(http://downloads.sourceforge.net/brainworkshop/$pkgname-$pkgver.zip
15 md5sums=('a3621f8302bc102589ac15bb7971dbce' '03f36dac3b586f055698c82d7a40a53e'
16 '419934d3504627ed6ed08cf29f9f82d9' '1836270d2430682352f5615d803ee23e')
17 conflicts=('brainworkshop-source')
20 touch default-sessions.dat
21 install -d $pkgdir/usr/share/$pkgname || return 1
22 install -d $pkgdir/usr/share/applications || return 1
23 install -d $pkgdir/usr/share/pixmaps || return 1
24 install -d $pkgdir/usr/share/$pkgname/data || return 1
25 install -d $pkgdir/usr/bin || return 1
26 cp -a $srcdir/$pkgname/{Readme.txt,brainworkshop.pyw,data,pyglet,res} $pkgdir/usr/share/$pkgname || return 1
27 install -Dm75 $srcdir/brainworkshop.sh $pkgdir/usr/bin/$pkgname || return 1
28 install -D -m666 default-sessions.dat "$pkgdir"/usr/share/$pkgname/data/ || return 1
29 install -D -m644 brainworkshop.desktop "$pkgdir"/usr/share/applications/ || return 1
30 install -D -m644 brainworkshop.png "$pkgdir"/usr/share/pixmaps/ || return 1
33 # vim:set ts=2 sw=2 et: