add clustalw

This commit is contained in:
starsareintherose 2021-11-01 17:32:28 +00:00
parent 0b7b0a5d42
commit c2979ebf28
3 changed files with 52 additions and 0 deletions

30
clustalw/PKGBUILD Executable file
View file

@ -0,0 +1,30 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
pkgname=clustalw
pkgver=2.1
pkgrel=2
pkgdesc='Multiple alignment of nucleic acid and protein sequences (command line tool)'
arch=('x86_64')
url='http://www.clustal.org/clustal2'
license=('LGPL3')
depends=(
gcc-libs
)
makedepends=(
)
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::http://www.clustal.org/download/current/clustalw-${pkgver}.tar.gz")
sha256sums=('e052059b87abfd8c9e695c280bfba86a65899138c82abccd5b00478a80f49486')
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et:

12
clustalw/lilac.py Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_pkgbuild_commit()
# vim:set ts=2 sw=2 et:

10
clustalw/lilac.yaml Executable file
View file

@ -0,0 +1,10 @@
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
build_prefix: extra-x86_64
update_on:
- source: regex
url: "http://www.clustal.org/download/current"
regex: 'clustalw-(\d+.\d+)'
# vim:set ts=2 sw=2 et: