updated on Sat Jan 14 20:08:33 UTC 2012
[aur-mirror.git] / psytoolkit / PKGBUILD
blob2febff9c72d9875fcaa2358a791960ef7dc8876e
1 # Maintainer: Gijsbert Stoet <g.stoet@leeds.ac.uk>
2 pkgname=psytoolkit
3 pkgver=1.3.0
4 pkgrel=1
5 pkgdesc="PsyToolkit is a scientific toolkit for experimental psychology"
6 url="http://psytoolkit.leeds.ac.uk"
7 arch=('i686' 'x86_64')
8 license=('GPLv3')
9 depends=('libusb' 'sdl' 'sdl_mixer' 'sdl_ttf' 'sdl_gfx' 'sdl_image' \
10          'smpeg' 'indent' 'make' 'gcc' 'ruby' 'ruby-gtk2' )
11 optdepends=('java-runtime' 'R' 'libparapin')
12 makedepends=()
13 conflicts=()
14 replaces=()
15 backup=()
16 source=("http://psytoolkit.leeds.ac.uk/download/source/${pkgname}.src.${pkgver}.tar.gz")
17 md5sums=('5468507d884d0f6285e8bc655c560349')
19 build() {
20   cd "${srcdir}/psytoolkit_src"
21   ./install.sh -a -q -b $pkgdir
22   install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING"
25 package() {
26   cd "${srcdir}/psytoolkit_src/files/psylib"
27   make || return 1
28   make DESTDIR="$pkgdir" install