1 # Contributor: Markus Heuser <markus.heuser@web.de
2 # Maintainer: Thiago Yukio Kikuchi Oliveira <stratust@gmail.com>
7 pkgdesc="Efficient utilities on manipulating alignments in the SAM format."
9 url="http://samtools.sourceforge.net/"
11 depends=('perl' 'zlib')
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
14 md5sums=('71dab132e21c0766f0de84c2371a9157')
17 cd $srcdir/$pkgname-$pkgver
20 # Install main program executable
21 install -d "$pkgdir/usr/bin/"
22 install -m755 samtools "$pkgdir/usr/bin"
29 install -m755 "$f" "$pkgdir/usr/bin"
33 cd $srcdir/$pkgname-$pkgver
34 # Install libbam.a in /usr/local/lib (needed by tophat)
35 install -d "$pkgdir/usr/local/lib"
36 install libbam.a "$pkgdir/usr/local/lib"
39 # Install headers in /usr/local/include/bam (needed by tophat)
40 install -d "$pkgdir/usr/local/include/bam"
43 install "$f" "$pkgdir/usr/local/include/bam"