diff --git a/clustalw/PKGBUILD b/clustalw/PKGBUILD new file mode 100755 index 0000000000..14c6560ef1 --- /dev/null +++ b/clustalw/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Hu Butui + +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: diff --git a/clustalw/lilac.py b/clustalw/lilac.py new file mode 100755 index 0000000000..19737b8d62 --- /dev/null +++ b/clustalw/lilac.py @@ -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: + diff --git a/clustalw/lilac.yaml b/clustalw/lilac.yaml new file mode 100755 index 0000000000..34b9e75a06 --- /dev/null +++ b/clustalw/lilac.yaml @@ -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: +