mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
modeltest-gui: use USE_GUI instead of build.sh
This commit is contained in:
parent
0499d95ce5
commit
2b7a2428f0
1 changed files with 5 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=modeltest-gui
|
||||
pkgver=0.1.7
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
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')
|
||||
|
@ -18,10 +18,11 @@ prepare(){
|
|||
}
|
||||
build(){
|
||||
cd ${srcdir}/modeltest/
|
||||
chmod +x build.sh
|
||||
./build.sh
|
||||
mkdir build && cd build
|
||||
cmake cmake -DUSE_GUI=ON ..
|
||||
make
|
||||
}
|
||||
package() {
|
||||
install -dm755 "${pkgdir}"/usr/bin
|
||||
install -Dm755 "${srcdir}/modeltest/build/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||
install -Dm755 "${srcdir}/modeltest/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue