diff --git a/phylonet-hmm/PKGBUILD b/phylonet-hmm/PKGBUILD new file mode 100644 index 0000000000..fa9328f130 --- /dev/null +++ b/phylonet-hmm/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Malacology +# Contributor: Malacology + +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 +} diff --git a/phylonet-hmm/lilac.py b/phylonet-hmm/lilac.py new file mode 100755 index 0000000000..fcbff72939 --- /dev/null +++ b/phylonet-hmm/lilac.py @@ -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() diff --git a/phylonet-hmm/lilac.yaml b/phylonet-hmm/lilac.yaml new file mode 100644 index 0000000000..97e895ab6e --- /dev/null +++ b/phylonet-hmm/lilac.yaml @@ -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