# Contributor: Grigory Kirillov # Maintainer: pkgname=htslib pkgver=1.17 pkgrel=2 pkgdesc="C library for high-throughput sequencing data formats" url="https://github.com/samtools/htslib" arch="all" license="MIT AND BSD-3-Clause-Modification" options="!check" # no test suite makedepends=" bzip2-dev curl-dev libdeflate-dev xz-dev zlib-dev " source="https://github.com/samtools/htslib/releases/download/$pkgver/htslib-$pkgver.tar.bz2" subpackages=" $pkgname-static $pkgname-dev $pkgname-tools:_tools $pkgname-doc " build() { ./configure \ --target="$CTARGET" \ --build="$CBUILD" \ --host="$CHOST" \ --prefix=/usr \ --enable-libcurl \ --with-libdeflate \ --with-plugin-dir=/usr/lib/htslib/plugins make } _tools() { pkgdesc="Utilities for high-throughput sequencing data formats" amove /usr/bin } package() { make DESTDIR="$pkgdir" install } sha512sums=" 624ab449d57713dab2d34399926c065f8cff8a45e6fbe68e0bb518c601421f587b613caeb095f8639b1d67cdb4a65d658c85f942173bcaa48da026fe15def5d3 htslib-1.17.tar.bz2 "