mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
35 lines
857 B
Bash
35 lines
857 B
Bash
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
|
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
|
|
|
pkgname=lastz
|
|
pkgver=1.04.22
|
|
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=('4c829603ba4aed7ddf64255b528cd88850e4557382fca29580d3576c25c5054a')
|
|
|
|
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"
|
|
}
|
|
|
|
|