mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Added lastz (two packages providing the same source but with different build configurations)
This commit is contained in:
parent
c0624f38c8
commit
cc8b4e5aed
6 changed files with 113 additions and 0 deletions
35
BioArchLinux/lastz/PKGBUILD
Normal file
35
BioArchLinux/lastz/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
||||
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
||||
|
||||
pkgname=lastz
|
||||
pkgver=1.04.15
|
||||
pkgrel=1
|
||||
pkgdesc="Pairwise DNA sequence aligner"
|
||||
arch=('x86_64')
|
||||
url="https://lastz.github.io/lastz/"
|
||||
license=('MIT')
|
||||
depends=(glibc)
|
||||
makedepends=()
|
||||
provides=(lastz)
|
||||
source=("https://github.com/${pkgname}/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
|
||||
sha256sums=('46a5cfb1fd41911a36fce5d3a2721ebfec9146952943b302e78b0dfffddd77f8')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make -f Makefile.warnings
|
||||
make -f Makefile.warnings lastz_32
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
export LASTZ_INSTALL="${pkgdir}/usr/bin" && make install
|
||||
export LASTZ_INSTALL="${pkgdir}/usr/bin" && make install_32
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
|
11
BioArchLinux/lastz/lilac.py
Normal file
11
BioArchLinux/lastz/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'))
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
|
10
BioArchLinux/lastz/lilac.yaml
Normal file
10
BioArchLinux/lastz/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: michaelgelliot
|
||||
email: m.g.elliot@rug.nl
|
||||
update_on:
|
||||
- source: github
|
||||
github: lastz/lastz
|
||||
use_max_tag: true
|
||||
|
||||
|
36
BioArchLinux/lastz_backtobackgaps/PKGBUILD
Normal file
36
BioArchLinux/lastz_backtobackgaps/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
||||
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
||||
|
||||
pkgname=lastz_backtobackgaps
|
||||
_pkgname=lastz
|
||||
pkgver=1.04.15
|
||||
pkgrel=1
|
||||
pkgdesc="Pairwise DNA sequence aligner. This version allows back to back gaps (adjacent indels) but might break backward compatibility with lastZ and BLASTZ."
|
||||
arch=('x86_64')
|
||||
url="https://lastz.github.io/lastz/"
|
||||
license=('MIT')
|
||||
depends=(glibc)
|
||||
makedepends=()
|
||||
provides=(lastz)
|
||||
source=("https://github.com/${_pkgname}/${_pkgname}/archive/refs/tags/${pkgver}.tar.gz")
|
||||
sha256sums=('46a5cfb1fd41911a36fce5d3a2721ebfec9146952943b302e78b0dfffddd77f8')
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
make -f Makefile.warnings allowBackToBackGaps=ON
|
||||
make -f Makefile.warnings lastz_32 allowBackToBackGaps=ON
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
export LASTZ_INSTALL="${pkgdir}/usr/bin" && make install
|
||||
export LASTZ_INSTALL="${pkgdir}/usr/bin" && make install_32
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
|
11
BioArchLinux/lastz_backtobackgaps/lilac.py
Normal file
11
BioArchLinux/lastz_backtobackgaps/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'))
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
|
10
BioArchLinux/lastz_backtobackgaps/lilac.yaml
Normal file
10
BioArchLinux/lastz_backtobackgaps/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: michaelgelliot
|
||||
email: m.g.elliot@rug.nl
|
||||
update_on:
|
||||
- source: github
|
||||
github: lastz/lastz
|
||||
use_max_tag: true
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue