try to fix the PKGBUILD

This commit is contained in:
starsareintherose 2021-11-02 19:07:57 +00:00
parent 1528dd2d03
commit 172e49374a

View file

@ -1,21 +1,22 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
# Contributor: Mick Elliot <micke at sfu dot ca>
pkgname=phyml
pkgver=3.3.20200621
pkgrel=2
pkgver=3.3.20211021
pkgrel=1
epoch=1
pkgdesc="Builds phylogenies from DNA or protein sequences using a maximum likelihood approach"
arch=('i686' 'x86_64')
url="https://github.com/stephaneguindon/phyml"
license=('GPL2')
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
sha256sums=('a8243923ee08c74cab609a4b086ade66c6156fc2b24450e2a500108dc644c867')
sha256sums=('8dd6519ccbf73ce67e57bc7681f6dffdbbc63e78e15aae79394f3ec362d42c2d')
build() {
cd "$srcdir/phyml-$pkgver"
# aclocal
# autoreconf --force --install
# automake --force --add-missing
# Fix error: AM_INIT_AUTOMAKE expanded multiple times
sed -i '/^AM_INIT_AUTOMAKE$/d' configure.ac
./autogen.sh
./configure --prefix=/usr --enable-phyml
make