diff --git a/BioArchLinux/vsearch/PKGBUILD b/BioArchLinux/vsearch/PKGBUILD new file mode 100644 index 0000000000..934789c816 --- /dev/null +++ b/BioArchLinux/vsearch/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Martin Larralde + +pkgname=vsearch +pkgver=2.27.0 +pkgrel=0 +pkgdesc="Versatile open-source tool for microbiome analysis. https://doi.org/10.7717/peerj.2584" +arch=('x86_64' 'aarch64' 'ppc64le') +url="https://github.com/torognes/vsearch" +license=('BSD-2-Clause OR GPL-3.0-only') +depends=('glibc' 'zlib' 'bzip2') +makedepends=('ghostscript') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('b7e25638924e56591d7c6ac3a959795000439937f5b566be7f06457bb31f91a9') + +build() { + cd "$pkgname-$pkgver" + ./autogen.sh + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt +} diff --git a/BioArchLinux/vsearch/lilac.yaml b/BioArchLinux/vsearch/lilac.yaml new file mode 100644 index 0000000000..b4e1df825f --- /dev/null +++ b/BioArchLinux/vsearch/lilac.yaml @@ -0,0 +1,14 @@ +build_prefix: extra-x86_64 +maintainers: + - github: althonos + email: althonosdev@gmail.com +pre_build_script: | + update_pkgver_and_pkgrel(_G.newver) +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() +update_on: + - source: github + github: torognes/vsearch + use_max_tag: true + prefix: 'v'