add vcftools

This commit is contained in:
starsareintherose 2021-12-11 02:27:55 +00:00
parent 6ce3a1832e
commit 2b8fa51d18
3 changed files with 47 additions and 0 deletions

28
vcftools/PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# Maintainer: Stunts <f.pinamartins@gmail.com>
# Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
pkgname=vcftools
pkgver=0.1.16
pkgrel=1
pkgdesc="A set of tools written in Perl and C++ for working with VCF files"
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=('575c13073efe65cbff6e2ab99eef12fe04536f5dc1f98de6674c848ca83cf302')
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"
}

10
vcftools/lilac.py Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

9
vcftools/lilac.yaml Normal file
View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: vcftools/vcftools
use_latest_release: true
include_regex: (\d+.d+.\d+)