summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcerikson2018-11-02 17:24:47 -0700
committercerikson2018-11-02 17:24:47 -0700
commit8537be62c5d6b083c0e68e24ee9079aa55b1cbb9 (patch)
tree45bb61045bd31a80c3a8f85f0f426fa8698ced43
downloadaur-8537be62c5d6b083c0e68e24ee9079aa55b1cbb9.tar.gz
Start of MCL package
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5ef91afa23b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = mcl
+ pkgdesc = A unsupervised cluster algorithm for graphs based on simulation of flow in graphs.
+ pkgver = 14_137
+ pkgrel = 1
+ url = https://www.micans.org/mcl/src/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = bash
+ depends = perl
+ source = https://www.micans.org/mcl/src//mcl-14-137.tar.gz
+ md5sums = bc8740456cf51019d0a9ac5eba665bb5
+
+pkgname = mcl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b1ee743403a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Christian Erikson <bio.erikson@gmail.com>
+pkgname=mcl
+pkgver=14_137
+pkgrel=1
+pkgdesc="A unsupervised cluster algorithm for graphs based on simulation of flow in graphs."
+arch=('i686' 'x86_64')
+depends=('bash' 'perl')
+url="https://www.micans.org/mcl/src/"
+license=('GPL3')
+source=("$url/$pkgname-${pkgver//_/-}.tar.gz")
+md5sums=(bc8740456cf51019d0a9ac5eba665bb5)
+
+build() {
+ cd "$pkgname-${pkgver//_/-}"
+ ./configure --prefix=/usr
+ make clean
+ make
+}
+
+check() {
+ cd "$pkgname-${pkgver//_/-}"
+ make check
+}
+
+package() {
+ cd "$pkgname-${pkgver//_/-}"
+ make DESTDIR="$pkgdir/" install
+}
+