preseq: init

This commit is contained in:
Kuoi 2022-08-28 15:13:03 +01:00
parent 2dc86782a4
commit f1782c8002
3 changed files with 55 additions and 0 deletions

View 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
}

View 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()

View 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