summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Marshall2018-03-15 16:14:10 -0400
committerJosh Marshall2018-03-15 16:14:10 -0400
commitf75e67af09ba1d2b67a676f7090de64a0a2320e1 (patch)
treebb1157e23805addf13e08235651697d6e603d982
downloadaur-f75e67af09ba1d2b67a676f7090de64a0a2320e1.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD39
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..eea4b6abe56
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = cath-tool-git
+ pkgdesc = Protein structure comparison tools such as SSAP and SNAP
+ pkgver = 1
+ pkgrel = 1
+ url = http://orengogroup.info/software/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gsl
+ makedepends = cmake
+ makedepends = ninja
+ makedepends = make
+ makedepends = git
+ depends = gsl
+ provides = cath-tools
+ conflicts = cath-tools
+ source = cath-tools::git+https://github.com/anadon/cath-tools
+ md5sums = SKIP
+
+pkgname = cath-tool-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6e15e651603
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+cath-tool-git-1-1-x86_64.pkg.tar.xz
+cath-tools/
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..68d417e09bd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Josh Marshall <jrmarsha@mtu.edu>
+
+pkgname=cath-tool-git
+pkgver=1
+pkgrel=1
+pkgdesc="Protein structure comparison tools such as SSAP and SNAP"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://orengogroup.info/software/"
+depends=('gsl')
+makedepends=('gsl' 'cmake' 'ninja' 'make' 'git')
+provides=('cath-tools')
+conflicts=('cath-tools')
+source=("cath-tools::git+https://github.com/anadon/cath-tools")
+md5sums=('SKIP')
+
+build() {
+ cd "$provides"
+ cmake -G Ninja -DCMAKE_BUILD_TYPE=RELEASE -D USE_STATIC_GSL:BOOL=FALSE .
+ ninja
+}
+
+check() {
+ cd "$provides"
+ CATH_TOOLS_BIN_DIR=. prove -l -v perl/t
+}
+
+package() {
+ cd "$provides"
+ #make install
+ #Install the executables
+ mkdir -p "$pkgdir/usr/bin"
+ cp -t "$pkgdir/usr/bin" cath-resolve-hits cath-score-align cath-assign-domains cath-ssap cath-cluster cath-superpose cath-map-clusters cath-refine-align
+
+ #Install the libraries
+ cd source
+ mkdir "$pkgdir/usr/lib"
+ cp -t "$pkgdir/usr/lib" libct_options.a libct_resolve_hits.a libct_seq.a libct_biocore.a libct_test.a libct_cath_assign_domains.a libct_uni.a libct_cath_cluster.a libct_cath_refine_align.a libct_cath_score_align.a libct_cath_superpose.a libct_chopping.a libct_clustagglom.a libct_cluster.a libct_common.a libct_display_colour.a
+}