diff --git a/blast+/PKGBUILD b/blast+/PKGBUILD new file mode 100755 index 0000000000..fb74d55c38 --- /dev/null +++ b/blast+/PKGBUILD @@ -0,0 +1,74 @@ +# Maintainer: Hu Butui +# Contributor: Nathaniel Stickney +# Contributor: Christian Krause ("wookietreiber") + +pkgname=blast+ +pkgver=2.12.0 +pkgrel=1 +pkgdesc='BLAST tool suite from NCBI (blastn, blastp, blastx, psiblast, etc)' +arch=('x86_64') +url='http://blast.ncbi.nlm.nih.gov' +license=('custom') +depends=( + grpc + lmdb + lzo + perl + python + sqlite +) +makedepends=( + arrow + boost + cpio + fcgi + freeglut + freetype2 + giflib + gl2ps + glew + gnutls + gtest + hdf5 + hiredis + lapacke + leveldb + libjpeg + libpng + librdkafka + libtiff + libuv + libx11 + libxext + libxmu + libxpm + libxslt + libxt + mariadb + mesa + microsoft-gsl + mimetic + muparser + pcre + procps-ng + protobuf + wxgtk2 +) +source=("${pkgname}-${pkgver}.tar.gz::https://ftp.ncbi.nlm.nih.gov/blast/executables/LATEST/ncbi-blast-${pkgver}+-src.tar.gz") +sha256sums=('fda3c9c9d488cad6c1880a98a236d842bcf3610e3e702af61f7a48cf0a714b88') + +build() { + cd "${srcdir}/ncbi-blast-${pkgver}+-src/c++" + ./configure \ + --prefix=/usr \ + --with-dll + make +} + +package() { + cd "${srcdir}/ncbi-blast-${pkgver}+-src/c++" + make prefix="${pkgdir}/usr" install + install -Dm644 "scripts/projects/blast/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + # delete conflict files + rm -vf "${pkgdir}/usr/lib/libproj.so" +} diff --git a/blast+/lilac.py b/blast+/lilac.py new file mode 100755 index 0000000000..19737b8d62 --- /dev/null +++ b/blast+/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/blast+/lilac.yaml b/blast+/lilac.yaml new file mode 100755 index 0000000000..34c9b4b18c --- /dev/null +++ b/blast+/lilac.yaml @@ -0,0 +1,8 @@ +maintainers: + - github: starsareintherose + email: starsareintherose@outlook.com +build_prefix: extra-x86_64 +update_on: + - source: regex + url: "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST" + regex: '(\d+.\d+.\d+)'