mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
bamm: init
This commit is contained in:
parent
c2230214f7
commit
1f0c29ffc8
3 changed files with 50 additions and 0 deletions
30
BioArchLinux/bamm/PKGBUILD
Normal file
30
BioArchLinux/bamm/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
|
||||
|
||||
pkgname=bamm
|
||||
pkgver=2.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="A program for multimodel inference on speciation and trait evolution https://doi.org/10.1038/ncomms2958"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/macroevolution/bamm"
|
||||
license=('GPL2')
|
||||
makedepends=('cmake' 'make' 'git')
|
||||
source=("git+$url.git#tag=v$pkgver")
|
||||
sha512sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/$pkgname
|
||||
test -d build || mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname
|
||||
cd build
|
||||
install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname
|
||||
}
|
11
BioArchLinux/bamm/lilac.py
Normal file
11
BioArchLinux/bamm/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'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
update_aur_repo()
|
9
BioArchLinux/bamm/lilac.yaml
Normal file
9
BioArchLinux/bamm/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- source: github
|
||||
github: macroevolution/bamm
|
||||
use_max_tag: true
|
||||
prefix: 'v'
|
Loading…
Add table
Reference in a new issue