blob: 075f281538b98f5d5930730b64c0f60c45248486 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Maintainer: Yishen Miao <mys721tx@gmail.com>
# Maintainer: Nathaniel Stickney <nstickney@gmail.com>
# Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
# shellcheck disable=SC2034,SC2148,SC2154
pkgname=blast+
pkgver=2.17.0
pkgrel=2
pkgdesc="BLAST tool suite from NCBI (blastn, blastp, blastx, psiblast, etc)"
arch=('x86_64' 'aarch64')
url="http://blast.ncbi.nlm.nih.gov/"
license=('custom')
depends=(
'bash'
'bzip2'
'gcc-libs'
'glibc'
'libnghttp2'
'libuv'
'lmdb'
'lzo'
'pcre2'
'perl'
'python'
'sqlite'
'zlib'
'zstd'
)
makedepends=('cpio' 'gcc')
# conflicts with proj on libproj.so
conflicts=('blast' 'blast+-bin' 'ncbi-blast' 'proj')
provides=('blast')
replaces=('ncbi-blast')
source=(
"https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/$pkgver/ncbi-blast-$pkgver+-src.tar.gz"
)
sha256sums=(
'502057a88e9990e34e62758be21ea474cc0ad68d6a63a2e37b2372af1e5ea147'
)
prepare() {
cd "$srcdir"/ncbi-blast-"$pkgver"+-src/c++ || exit
./configure \
--prefix=/usr \
--with-dll \
--with-bin-release \
--with-mt \
--with-libuv \
--with-lmdb \
--with-lzo \
--with-nghttp2 \
--with-pcre2 \
--with-perl \
--with-python \
--with-sqlite3 \
--with-z \
--with-zstd
}
build() {
cd "$srcdir"/ncbi-blast-"$pkgver"+-src/c++ || exit
make
}
package() {
cd "$srcdir"/ncbi-blast-"$pkgver"+-src/c++ || exit
make prefix="$pkgdir"/usr install
chmod +x "$pkgdir"/usr/lib/*.so
install -d "$pkgdir"/usr/share/licenses/"$pkgname"
echo 'public domain' >"$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
# vim: set ts=4 sts=4 sw=4 et:
|