mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add phylonet-hmm
This commit is contained in:
parent
e7df3029fe
commit
e7e8b3b527
3 changed files with 45 additions and 0 deletions
27
phylonet-hmm/PKGBUILD
Normal file
27
phylonet-hmm/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||
|
||||
pkgname=phylonet-hmm
|
||||
_installname=PhyloNet
|
||||
pkgver=0.1
|
||||
pkgrel=1
|
||||
depends=(
|
||||
'java-runtime'
|
||||
)
|
||||
makedepends=('ant')
|
||||
pkgdesc="An HMM-based comparative genomic framework for detecting introgression in eukaryotes"
|
||||
arch=('x86_64')
|
||||
url="https://bioinfocs.rice.edu/node/108"
|
||||
license=('GPL')
|
||||
source=("https://bioinfocs.rice.edu/sites/g/files/bxs266/f/phmm-0.1.tar_0.bz2")
|
||||
sha256sums=('a05afde10e6cef5d3b2901c2258dbc11d93f02b2869c8373e678f0d0fdecd8f2')
|
||||
build(){
|
||||
cd ${srcdir}/phmm-${pkgver}
|
||||
ant
|
||||
}
|
||||
package() {
|
||||
cd ${srcdir}/phmm-${pkgver}
|
||||
install -Dm755 dist/lib/phmm.jar ${pkgdir}/usr/share/${pkgname}/${pkgname}.jar
|
||||
mkdir -p ${pkgdir}/usr/share/${pkgname}/templates
|
||||
mv templates/* "${pkgdir}"/usr/share/"${pkgname}"/templates
|
||||
}
|
10
phylonet-hmm/lilac.py
Executable file
10
phylonet-hmm/lilac.py
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
8
phylonet-hmm/lilac.yaml
Normal file
8
phylonet-hmm/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- regex: href="https://bioinfocs\.rice\.edu/sites/g/files/bxs266/f/phmm-(\d+.\d+)\.tar_0\.bz2"
|
||||
source: regex
|
||||
url: https://bioinfocs.rice.edu/software/phmm
|
Loading…
Add table
Reference in a new issue