summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 795b11e7c59f2bc574a31ba165fcad6cbf5ef245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

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
}