From 4289e195a5db389d156d6b3ca6e4cf8857eb8392 Mon Sep 17 00:00:00 2001 From: starsareintherose Date: Tue, 2 Nov 2021 08:40:53 +0000 Subject: [PATCH] add muscle --- muscle/LICENSE | 10 ++++++++++ muscle/PKGBUILD | 29 +++++++++++++++++++++++++++++ muscle/lilac.py | 10 ++++++++++ muscle/lilac.yaml | 9 +++++++++ 4 files changed, 58 insertions(+) create mode 100644 muscle/LICENSE create mode 100644 muscle/PKGBUILD create mode 100755 muscle/lilac.py create mode 100644 muscle/lilac.yaml diff --git a/muscle/LICENSE b/muscle/LICENSE new file mode 100644 index 0000000000..e48f525feb --- /dev/null +++ b/muscle/LICENSE @@ -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. diff --git a/muscle/PKGBUILD b/muscle/PKGBUILD new file mode 100644 index 0000000000..969863d58f --- /dev/null +++ b/muscle/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Michael Schubert +# Contributor: Mick Elliot +# Contributor: Damir Perisa +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" +} + diff --git a/muscle/lilac.py b/muscle/lilac.py new file mode 100755 index 0000000000..fcbff72939 --- /dev/null +++ b/muscle/lilac.py @@ -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() diff --git a/muscle/lilac.yaml b/muscle/lilac.yaml new file mode 100644 index 0000000000..f4e6bca90b --- /dev/null +++ b/muscle/lilac.yaml @@ -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 +