summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c21681268930fcdd7a427dbe6bfce42587592ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Joshua Hardy <joshinsilico@gmail.com>
pkgname=relion
pkgver=1.4
pkgrel=1
pkgdesc="REgularised LIkelihood OptimisatioN: employs an empirical Bayesian approach to refinement of 3D reconstructions or 2D class averages in electron cryo-microscopy"
arch=(x86_64)
url="http://www2.mrc-lmb.cam.ac.uk/relion/index.php/Main_Page"
license=('GPL')
depends=('libxinerama' 'glu' 'libjpeg-turbo' 'fftw' 'tcsh' 'alsa-lib' 'libxft' 'openmpi')
source=("http://www2.mrc-lmb.cam.ac.uk/groups/scheres/1sep15/$pkgname-$pkgver.tar.bz2" 
'relion.sh' 'relion.csh')
md5sums=('9897d73f405d11e0cceb740c2f7a6d29' 'SKIP' 'SKIP')

build() {
	cd "$pkgname-$pkgver"
	./INSTALL.sh -j 8
}

package() {
	cd "$pkgname-$pkgver"
	install -d $pkgdir/opt/relion $pkgdir/etc/profile.d/
	cp -r * $pkgdir/opt/relion/.
	install -D -m755 $srcdir/relion.* $pkgdir/etc/profile.d/.
}