mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
preseq: init
This commit is contained in:
parent
2dc86782a4
commit
f1782c8002
3 changed files with 55 additions and 0 deletions
29
BioArchLinux/preseq/PKGBUILD
Normal file
29
BioArchLinux/preseq/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
|
||||
|
||||
pkgname=preseq
|
||||
pkgver=3.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="A tool for predicting and estimating the complexity of a genomic sequencing library, equivalent to predicting and estimating the number of redundant reads from a given sequencing depth."
|
||||
arch=('x86_64')
|
||||
url="http://smithlabresearch.org/software/preseq/"
|
||||
depends=('gsl' 'htslib')
|
||||
makedepends=('make')
|
||||
license=('GPL3')
|
||||
source=("https://github.com/smithlabcode/preseq/releases/download/v${pkgver}/preseq-${pkgver}.tar.gz")
|
||||
md5sums=('fca0d3e94ce2b557d3b2d6f374498bcc')
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix="${pkgdir}/usr" --enable-hts
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make install
|
||||
}
|
||||
|
12
BioArchLinux/preseq/lilac.py
Normal file
12
BioArchLinux/preseq/lilac.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/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()
|
||||
update_aur_repo()
|
14
BioArchLinux/preseq/lilac.yaml
Normal file
14
BioArchLinux/preseq/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: smithlabcode/preseq
|
||||
use_latest_release: true
|
||||
prefix: 'v'
|
||||
- alias: alpm-lilac
|
||||
alpm: htslib
|
||||
strip_release: true
|
||||
repo_depends:
|
||||
- htslib
|
Loading…
Add table
Reference in a new issue