summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Miller2018-07-14 16:10:03 +0300
committerLionel Miller2018-07-14 16:10:03 +0300
commitc1ad83d3edcff04e64246ba4f093d6d35b48346a (patch)
treef0ab2ec7d3c3e34776c80b563dd6c6fafb50d311
downloadaur-c1ad83d3edcff04e64246ba4f093d6d35b48346a.tar.gz
Initial version
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD30
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b842bf26506
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = dendrix
+ pkgdesc = Algorithm for discovery of mutated driver pathways in cancer using only mutation data
+ pkgver = 0.3
+ pkgrel = 1
+ url = http://compbio.cs.brown.edu/projects/dendrix/
+ arch = any
+ license = MIT
+ depends = python2
+ provides = dendrix
+ source = dendrix-0.3.zip::http://compbio-research.cs.brown.edu/software/Dendrix/Dendrix_v0.3.zip
+ sha512sums = 39fd7983b34c25b5e69ed230d9f4da2795fb64057c9891afa136953855391cd8d019ac5cdfc28b69a931852b8dca381ebd01bf93c3cd7c53ab7b36f967479f7b
+
+pkgname = dendrix
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f5f7ade1723
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Lionel Miller <delonorm at gmail dot com>
+
+pkgname=dendrix
+pkgver=0.3
+pkgrel=1
+pkgdesc="Algorithm for discovery of mutated driver pathways in cancer using only mutation data"
+arch=('any')
+url="http://compbio.cs.brown.edu/projects/dendrix/"
+license=('MIT')
+depends=('python2')
+provides=('dendrix')
+source=("$pkgname-$pkgver.zip::http://compbio-research.cs.brown.edu/software/Dendrix/Dendrix_v$pkgver.zip")
+sha512sums=('39fd7983b34c25b5e69ed230d9f4da2795fb64057c9891afa136953855391cd8d019ac5cdfc28b69a931852b8dca381ebd01bf93c3cd7c53ab7b36f967479f7b')
+
+prepare() {
+ cd Dendrix
+
+ sed -e "s:#!/usr/bin/env python:#!/usr/bin/env python2:" \
+ -i Dendrix.py -i PermutationTestDendrix.py
+}
+
+package() {
+ cd Dendrix
+ install -Dm755 Dendrix.py "$pkgdir/usr/bin/Dendrix.py"
+ install -Dm755 PermutationTestDendrix.py "$pkgdir/usr/bin/PermutationTestDendrix.py"
+
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -d "$pkgdir/usr/share/$pkgname/"
+ cp -r README.txt RELEASE_NOTES.txt example/ "$pkgdir/usr/share/$pkgname/"
+}