mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
mosdepth: init
This commit is contained in:
parent
f1782c8002
commit
4f8f37c09f
3 changed files with 52 additions and 0 deletions
27
BioArchLinux/mosdepth/PKGBUILD
Normal file
27
BioArchLinux/mosdepth/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Andrew O'Neill <andrew at meanjollies dot com>
|
||||
# Contributor: Clint Valentine <valentine.clint@gmail.com>
|
||||
|
||||
pkgname=mosdepth
|
||||
pkgver=0.3.3
|
||||
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')
|
||||
makedepends=('nim' 'htslib')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('71edbefef8e3a43ddf41f79e24f4a11eb208e6fc0957e4431294a5e9517a3c14')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
nimble build -y
|
||||
}
|
||||
|
||||
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}"
|
||||
}
|
11
BioArchLinux/mosdepth/lilac.py
Normal file
11
BioArchLinux/mosdepth/lilac.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
14
BioArchLinux/mosdepth/lilac.yaml
Normal file
14
BioArchLinux/mosdepth/lilac.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- source: github
|
||||
github: brentp/mosdepth
|
||||
use_max_tag: true
|
||||
prefix: 'v'
|
||||
- alias: alpm-lilac
|
||||
alpm: htslib
|
||||
strip_release: true
|
||||
repo_depends:
|
||||
- htslib
|
Loading…
Add table
Reference in a new issue