mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add jags
This commit is contained in:
parent
8e24d61693
commit
7f159ee7cc
4 changed files with 48 additions and 0 deletions
24
BioArchLinux/jags/PKGBUILD
Normal file
24
BioArchLinux/jags/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Maintainer: Miguel de Val-Borro <miguel at archlinux dot net>
|
||||||
|
# Contributor: miggy <jkomdl at gmail dot com>
|
||||||
|
|
||||||
|
pkgname=jags
|
||||||
|
pkgver=4.3.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation"
|
||||||
|
arch=('x86_64' 'i686')
|
||||||
|
url="http://mcmc-jags.sourceforge.net/"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('lapack' 'libtool')
|
||||||
|
options=('!libtool')
|
||||||
|
makedepends=('gcc-fortran' 'lapack')
|
||||||
|
source=(http://downloads.sourceforge.net/project/mcmc-jags/JAGS/${pkgver: 0: 1}.x/Source/JAGS-$pkgver.tar.gz)
|
||||||
|
md5sums=('d88dff326603deee39ce7fa4234c5a43')
|
||||||
|
build () {
|
||||||
|
cd "$srcdir/JAGS-$pkgver"
|
||||||
|
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname}
|
||||||
|
make
|
||||||
|
}
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/JAGS-$pkgver"
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
}
|
12
BioArchLinux/jags/lilac.py
Executable file
12
BioArchLinux/jags/lilac.py
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from lilaclib import *
|
||||||
|
|
||||||
|
|
||||||
|
def pre_build():
|
||||||
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
|
|
||||||
|
def post_build():
|
||||||
|
git_pkgbuild_commit()
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|
10
BioArchLinux/jags/lilac.yaml
Executable file
10
BioArchLinux/jags/lilac.yaml
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
update_on:
|
||||||
|
- source: regex
|
||||||
|
url: "https://mcmc-jags.sourceforge.io/"
|
||||||
|
regex: 'The latest release is JAGS (\d+.\d+.\d+).'
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|
|
@ -8,3 +8,5 @@ update_on:
|
||||||
- regex: rjags_([\d._-]+).tar.gz
|
- regex: rjags_([\d._-]+).tar.gz
|
||||||
source: regex
|
source: regex
|
||||||
url: https://cran.r-project.org/package=rjags
|
url: https://cran.r-project.org/package=rjags
|
||||||
|
repo_depends:
|
||||||
|
- jags
|
||||||
|
|
Loading…
Add table
Reference in a new issue