diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -3,16 +3,16 @@ # shellcheck disable=2148 pkgname=diamond -pkgver=2.1.7 +pkgver=2.1.8 pkgrel=1 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' 'zstd' 'blast+') +depends=('gcc-libs' 'zlib' 'zstd' 'blast+' 'glibc') makedepends=('cmake') source=("$pkgname-$pkgver.tar.gz::https://github.com/bbuchfink/diamond/archive/v$pkgver.tar.gz") -sha256sums=('2dcaba0e79ecb02c3d2a6816d317e714767118a9a056721643abff4c586ca95b') +sha256sums=('b6088259f2bc92d1f9dc4add44590cff68321bcbf91eefbc295a3525118b9415') build() { cd $pkgname-$pkgver @@ -29,6 +29,11 @@ build() { cmake --build build } +check() { + cd $pkgname-$pkgver + ctest --test-dir build --output-on-failure +} + package() { cd $pkgname-$pkgver DESTDIR="$pkgdir" cmake --install build |