diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 19 insertions, 16 deletions
@@ -1,15 +1,15 @@ pkgbase = mosdepth pkgdesc = Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing - pkgver = 0.2.3 + pkgver = 0.2.9 pkgrel = 1 url = https://github.com/brentp/mosdepth - arch = any + arch = x86_64 license = MIT makedepends = nim makedepends = nimble makedepends = htslib - source = mosdepth-0.2.3.tar.gz::https://github.com/brentp/mosdepth/archive/v0.2.3.tar.gz - sha256sums = a05b3ef3c779c2155816954322adca2d7c06b3e19a409993020b9ad4bbd28dd4 + source = mosdepth-0.2.9.tar.gz::https://github.com/brentp/mosdepth/archive/v0.2.9.tar.gz + sha256sums = ebbf5a3b1bc0099abf8a8f2df39a37ad279809ba0116d028552ec81a3fed0810 pkgname = mosdepth @@ -1,24 +1,27 @@ -# Maintainer: Clint Valentine <valentine.clint@gmail.com> +# Maintainer: Andrew O'Neill <andrew at meanjollies dot com> +# Contributor: Clint Valentine <valentine.clint@gmail.com> pkgname=mosdepth -pkgver=0.2.3 +pkgver=0.2.9 pkgrel=1 -pkgdesc="Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing" -arch=('any') -url="https://github.com/brentp/mosdepth" +pkgdesc='Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing' +arch=('x86_64') +url="https://github.com/brentp/${pkgname}" license=('MIT') makedepends=('nim' 'nimble' 'htslib') -source=("${pkgname}"-"${pkgver}".tar.gz::https://github.com/brentp/"${pkgname}"/archive/v"${pkgver}".tar.gz) -sha256sums=('a05b3ef3c779c2155816954322adca2d7c06b3e19a409993020b9ad4bbd28dd4') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('ebbf5a3b1bc0099abf8a8f2df39a37ad279809ba0116d028552ec81a3fed0810') build() { - cd "${srcdir}"/"${pkgname}"-"${pkgver}" + cd "${pkgname}-${pkgver}" + nimble build -y } package() { - cd "${srcdir}"/"${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}" + 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}" } |