# Maintainer: Stunts # Contributor: Christian Krause ("wookietreiber") pkgname=vcftools pkgver=0.1.17 pkgrel=1 pkgdesc="A set of tools written in Perl and C++ for working with VCF files. https://doi.org/10.1093/bioinformatics/btr330" arch=('x86_64') url="https://vcftools.github.io/" license=('LGPL3') depends=('perl' 'zlib') source=(https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz) sha256sums=('00b54fc7349179c2efbdab0e4dcb65a69e7b0ab0d0d29b59cc823140d0b40bff') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./autogen.sh ./configure --prefix=${pkgdir}/usr --mandir=${pkgdir}/usr/share/man/man1 make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make install install -D -m755 src/cpp/vcftools "${pkgdir}/usr/bin/vcftools" }