blob: 1d0fdfe5b64529aaf21d6d19d37d5c04961a4af2 (
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
28
|
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>
pkgname=kma
pkgver=1.4.17
pkgrel=0
pkgdesc="An ultra-fast mapping method designed to map raw reads directly against redundant databases using seed and extend."
arch=(x86_64)
url="https://bitbucket.org/genomicepidemiology/kma/src/master/"
license=('Apache-2.0')
makedepends=('git')
depends=('zlib' 'glibc')
source=(''kma::git+https://bitbucket.org/genomicepidemiology/kma.git#tag=$pkgver'')
sha256sums=('efd33b858c7c70ab0091125f8ef1220c5203859e130765bba8a2d5c193c8d25a')
build() {
cd "$srcdir/${pkgname}"
make
}
package() {
cd ${srcdir}/${pkgname}
install -dm 755 "${pkgdir}"/usr/bin
for bin in {kma,kma_index,kma_shm}
do [ -f "$bin" ] || continue
install -Dm 755 "$bin" "${pkgdir}"/usr/bin/"$bin"
done
install -dm 755 "${pkgdir}"/usr/share/doc/${pkgname}
install -Dm 755 KMAspecification.pdf "${pkgdir}"/usr/share/doc/${pkgname}/
}
|