mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add hisat2
This commit is contained in:
parent
c01d504015
commit
a61182f124
3 changed files with 43 additions and 0 deletions
22
BioArchLinux/hisat2/PKGBUILD
Normal file
22
BioArchLinux/hisat2/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
pkgname=hisat2
|
||||
pkgver=2.2.1
|
||||
pkgrel=1
|
||||
pkgdesc='A fast and sensitive alignment program for mapping next-generation sequencing reads against genomes'
|
||||
url="https://ccb.jhu.edu/software/$pkgname"
|
||||
license=(GPL3)
|
||||
arch=(x86_64)
|
||||
depends=('python' 'perl')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/DaehwanKimLab/hisat2/archive/refs/tags/v2.2.1.tar.gz")
|
||||
sha256sums=('f3f4f867d0a6b1f880d64efc19deaa5788c62050e0a4d614ce98b3492f702599')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
for bin in hisat2 hisat2-*; do
|
||||
install -Dm755 $bin "$pkgdir/usr/bin/$bin"
|
||||
done
|
||||
}
|
12
BioArchLinux/hisat2/lilac.py
Normal file
12
BioArchLinux/hisat2/lilac.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
9
BioArchLinux/hisat2/lilac.yaml
Normal file
9
BioArchLinux/hisat2/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: DaehwanKimLab/hisat2
|
||||
use_latest_release: true
|
||||
prefix: 'v'
|
Loading…
Add table
Reference in a new issue