add muscle

This commit is contained in:
starsareintherose 2021-11-02 08:40:53 +00:00
parent c33a5175ec
commit 4289e195a5
4 changed files with 58 additions and 0 deletions

10
muscle/LICENSE Normal file
View file

@ -0,0 +1,10 @@
MUSCLE is public domain software
The MUSCLE software, including object and source code and
documentation, is hereby donated to the public domain.
Disclaimer of warranty
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

29
muscle/PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
# Contributor: Mick Elliot <micke@sfu.ca>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=muscle
pkgver=3.8.1551
pkgrel=1
pkgdesc="multiple sequence comparison by log-expectation"
arch=('i686' 'x86_64')
url="http://www.drive5.com/muscle/"
license=('custom')
source=(http://www.drive5.com/muscle/muscle_src_$pkgver.tar.gz LICENSE)
sha256sums=('c70c552231cd3289f1bad51c9bd174804c18bb3adcf47f501afec7a68f9c482e'
'2ee887dede5d3ddb6fa65690e0afd8d1083d835522d9271450752df0cc2f6658')
build() {
cd "$srcdir"
if [ "${CARCH}" = "i686" ]; then
make CFLAGS=" -march=i686 -mtune=generic -O2 -pipe" LDLIBS=" -lm"
else
make CFLAGS=" -march=x86-64 -mtune=generic -O2 -pipe" LDLIBS=" -lm"
fi
}
package() {
cd "$srcdir"
install -D -m755 muscle "$pkgdir/usr/bin/muscle"
install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

10
muscle/lilac.py Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()

9
muscle/lilac.yaml Normal file
View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- regex: muscle_src_(\d+.\d+.\d+).tar.gz
source: regex
url: http://www.drive5.com/muscle/downloads.htm