summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b487f54ec6ba370f46665234f9e39b634bab222 (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") <kizkizzbangbang@googlemail.com>

pkgname=bwa
pkgver=0.7.13
pkgrel=1
pkgdesc="Burrows-Wheeler Aligner maps low-divergent sequences against a large reference genome"
arch=('i686' 'x86_64')
url="http://bio-bwa.sourceforge.net/"
license=('GPL3')
depends=('perl' 'zlib')
source=(http://downloads.sourceforge.net/bio-bwa/$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=('f094f609438511766c434178a3635ab4')

build() {
  cd $srcdir/$pkgname-$pkgver

  make
}

package() {
  cd $srcdir/$pkgname-$pkgver

  install -Dm755 bwa          $pkgdir/usr/bin/bwa
  install -Dm755 qualfa2fq.pl $pkgdir/usr/bin/qualfa2fq
  install -Dm755 xa2multi.pl  $pkgdir/usr/bin/xa2multi
  install -Dm644 bwa.1        $pkgdir/usr/share/man/man1/bwa.1
}