diff options
author | Joshua Hardy | 2016-04-10 20:35:21 +1000 |
---|---|---|
committer | Joshua Hardy | 2016-04-10 20:35:21 +1000 |
commit | d3f854254ce9d8bcf797e4726985e8d219c308ad (patch) | |
tree | 32d6090bd23ef5282dca13dd53deadb08d30421b | |
download | aur-d3f854254ce9d8bcf797e4726985e8d219c308ad.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | relion.sh | 3 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fe832720eadc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = relion + pkgdesc = REgularised LIkelihood OptimisatioN: employs an empirical Bayesian approach to refinement of 3D reconstructions or 2D class averages in electron cryo-microscopy + pkgver = 1.4 + pkgrel = 1 + url = http://www2.mrc-lmb.cam.ac.uk/relion/index.php/Main_Page + arch = x86_64 + license = GPL + depends = libxinerama + depends = glu + depends = libjpeg-turbo + depends = fftw + depends = tcsh + depends = alsa-lib + depends = libxft + depends = openmpi + source = http://www2.mrc-lmb.cam.ac.uk/groups/scheres/1sep15/relion-1.4.tar.bz2 + source = relion.sh + md5sums = 9897d73f405d11e0cceb740c2f7a6d29 + md5sums = SKIP + +pkgname = relion + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f1bb0d2565fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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') +md5sums=('9897d73f405d11e0cceb740c2f7a6d29' '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.sh $pkgdir/etc/profile.d/. +} diff --git a/relion.sh b/relion.sh new file mode 100644 index 000000000000..598de024ad42 --- /dev/null +++ b/relion.sh @@ -0,0 +1,3 @@ +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/relion/lib +export PATH=$PATH:/opt/relion/bin + |