mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Added phyx, renamed libarmadillo
This commit is contained in:
parent
2137a3d906
commit
3465dca1d9
6 changed files with 63 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
|||
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
||||
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
||||
|
||||
pkgname=armadillo
|
||||
pkgname=libarmadillo
|
||||
_pkgname=armadillo
|
||||
sfname=arma
|
||||
pkgver=10.8.0
|
||||
pkgrel=1
|
||||
|
@ -13,18 +14,18 @@ depends=(openblas lapack)
|
|||
makedepends=(cmake)
|
||||
optdepends=()
|
||||
provides=()
|
||||
source=("http://sourceforge.net/projects/${sfname}/files/${pkgname}-${pkgver}.tar.xz")
|
||||
source=("http://sourceforge.net/projects/${sfname}/files/${_pkgname}-${pkgver}.tar.xz")
|
||||
|
||||
sha256sums=('7c5d2fd4bba095733829f7fe03d4a74e732b81c75dd4d40001163487c967d5bc')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
cmake . -DCMAKE_INSTALL_PREFIX="/usr"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
38
BioArchLinux/phyx/PKGBUILD
Normal file
38
BioArchLinux/phyx/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
||||
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
||||
|
||||
pkgname=phyx
|
||||
pkgver=1.3
|
||||
pkgrel=1
|
||||
pkgdesc="Command-line phylogenetic tools for unix. https://doi.org/10.1093/bioinformatics/btx063"
|
||||
arch=('x86_64')
|
||||
url="http://${sfname}.sourceforge.net/"
|
||||
license=('GPL')
|
||||
depends=(libarmadillo nlopt lapack)
|
||||
makedepends=(curl)
|
||||
optdepends=()
|
||||
provides=()
|
||||
source=("https://github.com/FePhyFoFum/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
|
||||
sha256sums=('b09677f98f997838b39cd2724463be06d0627ddc90a7e659dc90d4e02db624eb')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}/src"
|
||||
echo "Downloading config.guess and config.sub from gnu git site..."
|
||||
curl 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' --output config.guess
|
||||
curl 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' --output config.sub
|
||||
autoconf
|
||||
./configure
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}/src"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}/src"
|
||||
make PREFIX=${pkgdir}/usr install
|
||||
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
11
BioArchLinux/phyx/lilac.py
Normal file
11
BioArchLinux/phyx/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()
|
||||
|
9
BioArchLinux/phyx/lilac.yaml
Normal file
9
BioArchLinux/phyx/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: michael.g.elliot
|
||||
email: m.g.elliot@rug.nl
|
||||
update_on:
|
||||
- source: github
|
||||
github: FePhyFoFum/phyx
|
||||
use_max_tag: true
|
||||
|
Loading…
Add table
Reference in a new issue