summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 14 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7f1d6b14833..d5b8850b6c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
+# Generated by mksrcinfo v8
+# Wed Jan 31 15:44:26 UTC 2018
pkgbase = tmtools
pkgdesc = TM-align is a computer algorithm for protein structure alignment using dynamic programming and TM-score rotation matrix
- pkgver = 20140601
+ pkgver = 20170708
pkgrel = 1
url = http://zhanglab.ccmb.med.umich.edu/TM-align/
arch = x86_64
arch = i686
license = custom
makedepends = gcc-fortran
- source = http://zhanglab.ccmb.med.umich.edu/TM-align/TMtools20140601.tar.gz
+ source = http://zhanglab.ccmb.med.umich.edu/TM-align/TMtools20170708.tar.gz
source = LICENSE
- sha256sums = 5032f7ab1824c8b2191b4a3667e1405feb6ccf7c900f57632aa506fff8ec1bf5
+ sha256sums = bb67e0924f34dc6f427de5f14734e3daa13be9f0394504efc8d5938da575f58d
sha256sums = 6702b261d43b8ce84af0aecabb2ff3c8a4187204f65b0b60c8d5fb5b9f24961b
pkgname = tmtools
diff --git a/PKGBUILD b/PKGBUILD
index ecd9c0993af..472ddeb4cd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Athemis <alexander.minges[at]googlemail[dot]com>
pkgname=tmtools
_pkgname=TMtools
-pkgver=20140601
+pkgver=20170708
pkgrel=1
pkgdesc="TM-align is a computer algorithm for protein structure alignment using dynamic programming and TM-score rotation matrix"
url="http://zhanglab.ccmb.med.umich.edu/TM-align/"
@@ -11,13 +11,18 @@ makedepends=('gcc-fortran')
source=("http://zhanglab.ccmb.med.umich.edu/TM-align/${_pkgname}${pkgver}.tar.gz"
"LICENSE")
-sha256sums=('5032f7ab1824c8b2191b4a3667e1405feb6ccf7c900f57632aa506fff8ec1bf5'
+sha256sums=('bb67e0924f34dc6f427de5f14734e3daa13be9f0394504efc8d5938da575f58d'
'6702b261d43b8ce84af0aecabb2ff3c8a4187204f65b0b60c8d5fb5b9f24961b')
+prepare() {
+cd "${srcdir}"
+ # Remove pre-built binaries
+ rm TMalign
+ rm TMscore
+}
+
build() {
cd "${srcdir}"
- rm TMalign
- rm TMscore
gfortran -march=native -O3 -pipe -ffast-math -lm -o TMalign TMalign.f
gfortran -march=native -O3 -pipe -ffast-math -lm -o TMscore TMscore.f
}