Added lastz (two packages providing the same source but with different build configurations)

This commit is contained in:
Mick Elliot 2022-01-04 12:08:59 +01:00
parent c0624f38c8
commit cc8b4e5aed
6 changed files with 113 additions and 0 deletions

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

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,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

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

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,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