diff options
author | Joshua Hardy | 2017-03-16 21:43:14 +1100 |
---|---|---|
committer | Joshua Hardy | 2017-03-16 21:43:14 +1100 |
commit | e623103acc278891e16582a60b3b3fcb34372c3d (patch) | |
tree | cf79616a6299bb72f98cf2e33b2bc3833a5b3f45 | |
download | aur-e623103acc278891e16582a60b3b3fcb34372c3d.tar.gz |
first upload
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bdc0b36826c6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = simple2 + pkgdesc = Single-particle IMage Processing Linux Engine for cryo-EM image processing, focusing on ab initio 3D reconstruction of low-symmetry single-particles + pkgver = 2.1 + pkgrel = 1 + url = http://simplecryoem.com + arch = x86_64 + license = GPL + makedepends = gcc49 + depends = lapack + depends = python2 + depends = fftw + depends = java-environment + source = http://simplecryoem.com/binaries/simple2.1.tar.gz + md5sums = f01eee32ec5071bdd7e5a3c505418335 + +pkgname = simple2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ec0e135ae4b7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Joshua Hardy joshinsilico@gmail.com +pkgname=simple2 +pkgver=2.1 +pkgrel=1 +pkgdesc="Single-particle IMage Processing Linux Engine for cryo-EM image processing, focusing on ab initio 3D reconstruction of low-symmetry single-particles" +arch=(x86_64) +url="http://simplecryoem.com" +license=('GPL') +depends=('lapack' 'python2' 'fftw' 'java-environment') +makedepends=('gcc49') +optdepends=() +source=("http://simplecryoem.com/binaries/simple2.1.tar.gz") +md5sums=('f01eee32ec5071bdd7e5a3c505418335') +build() { + cd "${srcdir}"/simple${pkgver} + cp scripts/Template_FEDORA_21x64_CPU_simple_user_input.pm simple_user_input.pm + sed -i -e s:"our\$CC_COMPILER = \"gcc\";":"our\$CC_COMPILER = \"gcc-4.9.4\";":g simple_user_input.pm + sed -i -e s:"our\$GCC_COMPILER = \"g++\";":"our\$GCC_COMPILER = \"g++-4.9.4\";":g simple_user_input.pm + sed -i -e s:"our\$FCOMPILER = \"gfortran\";":"our\$FCOMPILER = \"gfortran-4.9.4\";":g simple_user_input.pm + sed -i -e s:"our\$SIMPLE_PATH=\"/mysimplepath/\";":"our\$SIMPLE_PATH=\""$PWD"\";":g simple_user_input.pm + ./Makefile_genAll.pl + sed -i -e s:"export SIMPLEPATH=/home/josh/packages/simple/src/simple2.1":"export SIMPLEPATH=/opt/simple2":g add2.bashrc + sed -i -e s:"python ./checks/simple_LibTests/report.py":"python2 ./checks/simple_LibTests/report.py":g Makefile + echo "SIMPLE was developed by the Elmlund laboratory. Please register use at http://simplecryoem.com/download_form.html" +} +package() { + install -d "${pkgdir}"/opt "${pkgdir}"/etc/profile.d + cp -r "${srcdir}"/simple${pkgver} "${pkgdir}"/opt/simple2 + install -D -m755 "${srcdir}"/simple${pkgver}/add2.bashrc "${pkgdir}"/etc/profile.d/simple2.sh +} |