mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Merge pull request #90 from kbipinkumar/diamond
pull request for Diamond aligner PKGBUILD
This commit is contained in:
commit
4d2c2a3d43
2 changed files with 54 additions and 0 deletions
38
BioArchLinux/diamond/PKGBUILD
Normal file
38
BioArchLinux/diamond/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Maintainer: Bipin Kumar <bipin@ccmb.res.in>
|
||||||
|
# shellcheck disable=2034
|
||||||
|
# shellcheck disable=2148
|
||||||
|
|
||||||
|
pkgname=diamond
|
||||||
|
pkgver=2.0.15
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="DIAMOND is a sequence aligner for protein and translated DNA searches, designed for high performance analysis of big sequence data https://doi.org/10.1038/s41592-021-01101-x"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/bbuchfink/diamond"
|
||||||
|
license=('GPL3')
|
||||||
|
depends=('gcc-libs' 'zlib')
|
||||||
|
makedepends=('cmake')
|
||||||
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/bbuchfink/diamond/archive/v$pkgver.tar.gz")
|
||||||
|
sha256sums=('cc8e1f3fd357d286cf6585b21321bd25af69aae16ae1a8f605ea603c1886ffa4')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# shellcheck disable=2154
|
||||||
|
mkdir -p "$srcdir"/diamond-$pkgver/build
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir"/diamond-$pkgver/build
|
||||||
|
|
||||||
|
cmake \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
..
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir"/diamond-$pkgver/build
|
||||||
|
|
||||||
|
# shellcheck disable=2154
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
16
BioArchLinux/diamond/lilac.yaml
Normal file
16
BioArchLinux/diamond/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: github.com/kbipinkumar
|
||||||
|
email: bipin@ccmb.res.in
|
||||||
|
pre_build_script: |
|
||||||
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
|
run_cmd(['updpkgsums'])
|
||||||
|
post_build_script: |
|
||||||
|
git_add_files('PKGBUILD')
|
||||||
|
git_commit()
|
||||||
|
update_aur_repo()
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: bbuchfink/diamond
|
||||||
|
use_max_tag: true
|
||||||
|
prefix: 'v'
|
Loading…
Add table
Reference in a new issue