summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3125cbbf1fd07a3259c1fba62ce2e6fbf19a759 (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
# Maintainer: Clint Valentine <valentine.clint@gmail.com>

pkgname=mosdepth
pkgver=0.2.1
pkgrel=2
pkgdesc="Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing"
arch=('any')
url="https://github.com/brentp/mosdepth"
license=('MIT')
provides=('mosdepth')
conflicts=('mosdepth')
source=(
    https://github.com/brentp/"${pkgname}"/releases/download/v"${pkgver}"/"${pkgname}"
    "${pkgname}"-"${pkgver}".tar.gz::https://github.com/brentp/"${pkgname}"/archive/v"${pkgver}".tar.gz)
sha256sums=(
    '6e3dbd2ac93ee9e770f922de4b1641882558e1e70cf2168e509c6bc07d9486e7'
    '7aadd0f322a50723a5b396cfe8eb640728be03918a8d41b5a8ab1ba4943c26c6')

package() {
  install -Dm755 "${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"

  # Complete tar archive downloaded just for current license.
  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}