blob: edd1dd41dcc9aede37b42a04664c5664eb73cf3d (
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: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Andrew O'Neill <andrew at haunted dot sh>
# Contributor: Clint Valentine <valentine.clint@gmail.com>
pkgname=mosdepth
pkgver=0.3.11
pkgrel=1
pkgdesc='Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing'
arch=('x86_64')
url="https://github.com/brentp/${pkgname}"
license=('MIT')
depends=('htslib')
makedepends=('git' 'nim')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('4becd1e74a81ed590588ed2745ef7f1443d0a5aad35f9880a2d452d56a7227ff')
build() {
cd "${pkgname}-${pkgver}"
nimble build -y --passC:-Wno-error=incompatible-pointer-types
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
|