diff options
author | BioArchLinuxBot | 2023-03-25 22:23:09 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-03-25 22:23:09 +0000 |
commit | 0092b22240ed55e420a34ddf64d8dedc92c62cfa (patch) | |
tree | 5011cd684ac39423908fc49a05d961dbcba87e2a /PKGBUILD | |
parent | 7c75ff70104164946382dc5cd36578de40bfaafb (diff) | |
download | aur-modeltest-ng.tar.gz |
[lilac] updated to 0.1.7-6
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -3,19 +3,28 @@ pkgname=modeltest-ng pkgver=0.1.7 -pkgrel=1 -pkgdesc="A New and Scalable Tool for the Selection of DNA and Protein Evolutionary Models" +pkgrel=6 +pkgdesc="A New and Scalable Tool for the Selection of DNA and Protein Evolutionary Models. https://doi.org/10.1093/molbev/msz189" url='https://github.com/ddarriba/modeltest' arch=('x86_64') +makedepends=('bison' 'git' 'cmake' 'make' 'flex') license=('GPL3') -source=("https://github.com/ddarriba/modeltest/files/6192913/modeltest-ng-${pkgver}-static.tar.gz") -sha256sums=('aab174ad96a420829ae02b0ed9802d008c7a67d5b48e4a7e7741d29b186a1097') - -prepare() { - cd "${srcdir}" +source=("git+https://github.com/ddarriba/modeltest.git#tag=v${pkgver}") +sha256sums=('SKIP') +provides=('modeltest-ng') +conflicts=('modeltest-ng-mpi') +prepare(){ + cd ${srcdir}/modeltest + git submodule update --init --recursive +} +build(){ + cd ${srcdir}/modeltest/ + mkdir build && cd build + cmake .. + make } package() { install -dm755 "${pkgdir}"/usr/bin - install -Dm755 "${srcdir}/modeltest-ng-static" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${srcdir}/modeltest/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" } |