updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / bamtools / PKGBUILD
blobdfcd3761ee9999f154d1f91a97499b66674dd0d2
1 # Maintainer: Thiago Yukio Kikuchi Oliveira <stratust@gmail.com>
3 pkgname=bamtools
4 pkgver=1.0.2
5 pkgrel=1
6 pkgdesc="BamTools provides both a programmer's API and an end-user's toolkit for handling BAM files."
7 arch=("x86_64")
8 url="https://github.com/pezmaster31/bamtools"
9 license=('MIT')
10 depends=('cmake')
12 source=(https://github.com/downloads/pezmaster31/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('e4f3a7d90605b48a57050fc96c7af775')
15 build() {
16                 cd $srcdir/$pkgname-$pkgver
17                 mkdir build
18                 cd build
20                 cmake ..
21                 make
22                 
23                 # installing 
24                 for d in 'bin' 'lib' 'include'
25                 do
26                                 install -d  "$pkgdir/usr/$d"
27                                 cd "$srcdir/$pkgname-$pkgver/$d"
28                 
29                                 for f in *
30                                 do
31                                                 cp -rf "$f" "$pkgdir/usr/$d"
32                                 done
34                 done