summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b9c33823970aea7a02474e9371118f15ad46913 (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
# Maintainer: Guoyi ("malcology") <guoyizhang@malacology.net>

pkgname=mptp
pkgver=0.2.5
pkgrel=1
pkgdesc="A tool for single-locus species delimitation https://doi.org/10.1093/bioinformatics/btx025"
url='https://github.com/Pas-Kapli/mptp'
arch=('x86_64')
depends=('gsl')
makedepends=('bison' 'git' 'make' 'autoconf' 'make' 'flex')
license=('AGPL')
source=("git+$url#tag=v${pkgver}")
sha256sums=('SKIP')
build(){
  cd ${srcdir}/$pkgname
  ./autogen.sh
  ./configure --prefix=$pkgdir/usr
  make -j1
}

package() {
  cd ${srcdir}/$pkgname
  make install
}