updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / psytoolkit / PKGBUILD
blob7c4f54319c13fdac7477eb29c0795cbb338605fa
1 # Maintainer: Gijsbert Stoet <g.stoet@leeds.ac.uk>
2 pkgname=psytoolkit
3 pkgver=1.2.7
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=('5babcc5d4cfd70ce4e60ea56bd1b5036')
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