fastme: init

This commit is contained in:
Kuoi 2023-10-11 17:40:15 +08:00
parent 7115dabf61
commit ba52603a58
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,35 @@
# Maintainer: Guoyi Zhang <myname at malacology dot net>
pkgname=fastme
_pkgname=FastME
pkgver=2.1.6.3
pkgrel=0
arch=('x86_64')
pkgdesc="a comprehensive, accurate and fast distance-based phylogeny inference program \
https://doi.org/10.1093/molbev/msv150"
url='http://www.atgc-montpellier.fr/fastme/usersguide.php'
license=('GPL3')
depends=('gcc-libs' 'glibc')
makedepends=('make' 'autoconf')
source=("${pkgname}-${pkgver}.tgz::https://gite.lirmm.fr/atgc/${_pkgname}/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
sha1sums=('a643d3943816369c6f07ef0092ccafb5820f7063')
prepare() {
cd $srcdir/$_pkgname-v$pkgver
autoupdate
autoreconf -i
./configure --prefix=/usr
}
build() {
cd $srcdir/$_pkgname-v$pkgver
make
}
package() {
cd $srcdir/$_pkgname-v$pkgver
# binary
make DESTDIR="${pkgdir}" install
# docs
install -Dm 644 doc/*.pdf $pkgdir/usr/share/doc/$pkgname/manual.pdf
}

View file

@ -0,0 +1,16 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: gitlab
gitlab: atgc/FastME
host: gite.lirmm.fr
use_max_tag: true
prefix: 'v'