summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Hardy2017-03-12 16:28:45 +1100
committerJoshua Hardy2017-03-12 16:28:45 +1100
commit30e37bf57ecaa7fed29357c1818a80ba4d51f498 (patch)
tree44a0dbefc4dcf681305b617c88fb6be6ac5d2266
parent6118ca8025cd894135b32e6d2b17af976709f6d7 (diff)
downloadaur-motioncor2.tar.gz
added libtiff dependency and created library link
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7b4d3c2c6a43..da51e137bf8d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = motioncor2
license = CCPL:cc-by-nc-nd-3.0
depends = cuda
depends = nvidia-utils
+ depends = libtiff
source = http://msg.ucsf.edu/MotionCor2/MotionCor2-01-30-2017.tar.gz
md5sums = aec2f2653ba948e6d9a91a851171ce27
diff --git a/PKGBUILD b/PKGBUILD
index 255fc1179456..c8818df268e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="A multi-GPU program that corrects beam-induced sample motion on dose fr
arch=(x86_64)
url="http://msg.ucsf.edu/em/software/motioncor2.html"
license=('CCPL:cc-by-nc-nd-3.0')
-depends=('cuda' 'nvidia-utils')
+depends=('cuda' 'nvidia-utils' 'libtiff')
makedepends=()
optdepends=()
source=("http://msg.ucsf.edu/MotionCor2/MotionCor2-01-30-2017.tar.gz")
@@ -17,6 +17,7 @@ build() {
echo "MotionCor2 was designed by Shawn Zheng@University of California and is free for academic use. Cite publication: Shawn Q. Zheng, Eugene Palovcak, Jean-Paul Armache, Yifan Cheng and David A. Agard (2016) Anisotropic Correction of Beam-induced Motion for Improved Single-particle Electron Cryo-microscopy, Nature Methods, submitted. BioArxiv: http://biorxiv.org/content/early/2016/07/04/061960"
}
package() {
- install -d "${pkgdir}"/usr "${pkgdir}"/usr/bin
+ install -d "${pkgdir}"/usr "${pkgdir}"/usr/bin "${pkgdir}"/usr/lib
install -D -m755 "${srcdir}"/MotionCor2-??-??-???? "${pkgdir}"/usr/bin/MotionCor2
+ ln -s /usr/lib/libtiff.so "${pkgdir}"/usr/lib/libtiff.so.3
}