summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efca820e9397b0b772f389e4dcf1427b574a807a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}