This commit is contained in:
Mick Elliot 2022-01-03 18:53:02 +01:00
parent d272c4c091
commit 173e741447
3 changed files with 46 additions and 0 deletions

26
BioArchLinux/lra/PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
pkgname=lra
pkgver=1.3.2
pkgrel=1
pkgdesc='A long read aligner for sequences and contigs. doi:10.1371/journal.pcbi.1009078'
arch=('x86_64')
url="https://github.com/ChaissonLab/${pkgname^^}"
license=('USC-RL v1.0')
depends=('zlib' 'htslib')
provides=('lra')
source=("${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('a0ec18d4bd2bc196eb4063ad45fcdb306f212feddca6a7aca8ef87122a0cca1f')
build() {
cd "${pkgname^^}-${pkgver}"
make
}
package() {
cd "${pkgname^^}-${pkgver}"
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 lra "${pkgdir}/usr/bin/${pkgname}"
chmod +x "${pkgdir}/usr/bin/${pkgname}"
}

11
BioArchLinux/lra/lilac.py Normal file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: michaelgelliot
email: m.g.elliot@rug.nl
update_on:
- source: github
github: ChaissonLab/LRA
use_max_tag: true