summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Krause2017-09-28 10:36:22 +0200
committerChristian Krause2017-09-28 10:36:22 +0200
commite4dbf122be82dc9f63b3b66a15f796459228bfa9 (patch)
treea21ab286441024e317ff052ea269ac2ae2594735 /PKGBUILD
downloadaur-e4dbf122be82dc9f63b3b66a15f796459228bfa9.tar.gz
gatk-3.8.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..efca820e9397
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>
+
+pkgname=gatk
+_pkgver=3.8-0
+pkgver=${_pkgver/-/.}
+pkgrel=1
+pkgdesc='Genome Analysis Toolkit - Variant Discovery in High-Throughput Sequencing Data'
+arch=('any')
+url="https://software.broadinstitute.org/gatk/"
+license=('custom')
+depends=('bash' 'java-runtime>=8')
+source=("$pkgname-$pkgver.tar.bz2::https://software.broadinstitute.org/gatk/download/auth?package=GATK"
+ 'gatk-license.txt'
+ 'gatk.sh')
+md5sums=('0581308d2a25f10d11d3dfd0d6e4d28e'
+ 'ed8d005306adf1d18c477ee5b19c4b9e'
+ '8a0bd3c67fc4670b36d28bc383dc883b')
+
+package() {
+ install -Dm755 $srcdir/gatk.sh $pkgdir/usr/bin/gatk
+
+ install -Dm644 \
+ $srcdir/GenomeAnalysisTK-$_pkgver-*/GenomeAnalysisTK.jar \
+ $pkgdir/usr/share/java/gatk/GenomeAnalysisTK.jar
+
+ install -Dm644 $srcdir/gatk-license.txt $pkgdir/usr/share/licenses/gatk/LICENSE
+}