mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
vsearch: add package (#199)
* vsearch: add package recipe * vsearch: add `ghostscript` to `makedepends` * vsearch: add `zlib` and `bzip2` dependencies * vsearch: move lilac scripts into `lilac.yaml` * vsearch: fix GPL license identifier * vsearch: fix prefix stripping in `lilac.yaml` * vsearch: replace `use_latest_release` with `use_max_tag` * vsearch: change maintainer e-mail * vsearch: add autoconf exception to GPL-3.0 license * vsearch: change `pkgrel` to `0` * vsearch: add `update_aur_repo` to `post_build_script` * vsearch: tidy up `PKGBUILD`
This commit is contained in:
parent
eabaa6ce1a
commit
df21bf5033
2 changed files with 45 additions and 0 deletions
31
BioArchLinux/vsearch/PKGBUILD
Normal file
31
BioArchLinux/vsearch/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: Martin Larralde <martin.larralde@embl.de>
|
||||
|
||||
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
|
||||
}
|
14
BioArchLinux/vsearch/lilac.yaml
Normal file
14
BioArchLinux/vsearch/lilac.yaml
Normal file
|
@ -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'
|
Loading…
Add table
Reference in a new issue