diff options
author | BioArchLinuxBot | 2023-01-28 00:03:21 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-01-28 00:03:21 +0000 |
commit | 0fda86d836eebc0a3f970bae766d2c54c2ca75d2 (patch) | |
tree | c3545d229dde3ad4d580bd21579e1119d6fa1ae4 | |
parent | f285a622e68986cd946d8fd468ec4121417d60fd (diff) | |
download | aur-0fda86d836eebc0a3f970bae766d2c54c2ca75d2.tar.gz |
[lilac] updated to 2.1.0-4
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 18 insertions, 19 deletions
@@ -1,13 +1,15 @@ pkgbase = diamond - pkgdesc = DIAMOND is a sequence aligner for protein and translated DNA searches, designed for high performance analysis of big sequence data https://doi.org/10.1038/s41592-021-01101-x + pkgdesc = High performance sequence aligner for protein and translated DNA searches with big sequence data. https://doi.org/10.1038/s41592-021-01101-x pkgver = 2.1.0 - pkgrel = 1 + pkgrel = 4 url = https://github.com/bbuchfink/diamond arch = x86_64 license = GPL3 makedepends = cmake depends = gcc-libs depends = zlib + depends = zstd + depends = blast+ source = diamond-2.1.0.tar.gz::https://github.com/bbuchfink/diamond/archive/v2.1.0.tar.gz sha256sums = 5bd04574bb454562301c10b8e2594be33a147894b173421c929939b52e251715 @@ -4,35 +4,32 @@ pkgname=diamond pkgver=2.1.0 -pkgrel=1 -pkgdesc="DIAMOND is a sequence aligner for protein and translated DNA searches, designed for high performance analysis of big sequence data https://doi.org/10.1038/s41592-021-01101-x" +pkgrel=4 +pkgdesc="High performance sequence aligner for protein and translated DNA searches with big sequence data. https://doi.org/10.1038/s41592-021-01101-x" arch=('x86_64') url="https://github.com/bbuchfink/diamond" license=('GPL3') -depends=('gcc-libs' 'zlib') +depends=('gcc-libs' 'zlib' 'zstd' 'blast+') makedepends=('cmake') source=("$pkgname-$pkgver.tar.gz::https://github.com/bbuchfink/diamond/archive/v$pkgver.tar.gz") sha256sums=('5bd04574bb454562301c10b8e2594be33a147894b173421c929939b52e251715') -prepare() { - # shellcheck disable=2154 - mkdir -p "$srcdir"/diamond-$pkgver/build -} - build() { - cd "$srcdir"/diamond-$pkgver/build - - cmake \ + cd $pkgname-$pkgver + cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ - .. + -DWITH_ZSTD=ON \ + -DBLAST_INCLUDE_DIR=/usr/include/ncbi-tools++ \ + -DBLAST_LIBRARY_DIR=/usr/lib/ \ + -DZSTD_LIBRARY=/usr/lib/libzstd.so \ + -DZLIB_INCLUDE_DIR=/usr/include \ + -Wno-dev - make + cmake --build build } package() { - cd "$srcdir"/diamond-$pkgver/build - - # shellcheck disable=2154 - make DESTDIR="$pkgdir" install + cd $pkgname-$pkgver + DESTDIR="$pkgdir" cmake --install build } |