updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / brainworkshop / PKGBUILD
blobb0bbcb2fc2c84e758aacffdbc91f2d579da399fb
1 # Contributor: jck <jck@archlinux.us>
2 pkgname=brainworkshop
3 pkgver=4.8.1
4 pkgrel=2
5 pkgdesc="Brain Workshop is a free open-source version of the Dual N-Back mental exercise"
6 arch=('any')
7 url="http://brainworkshop.sourceforge.net/"
8 license=('GPL')
9 depends=()
10 depends=('python2' 'avbin' 'openal')
11 source=(http://downloads.sourceforge.net/brainworkshop/$pkgname-$pkgver.zip
12         brainworkshop.sh
13   brainworkshop.desktop
14   brainworkshop.png)
15 md5sums=('a3621f8302bc102589ac15bb7971dbce' '03f36dac3b586f055698c82d7a40a53e'
16          '419934d3504627ed6ed08cf29f9f82d9' '1836270d2430682352f5615d803ee23e')
17 conflicts=('brainworkshop-source')
19 build() {
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: