add hisat2

This commit is contained in:
sukanka 2022-07-15 10:16:09 +08:00
parent c01d504015
commit a61182f124
3 changed files with 43 additions and 0 deletions

View 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
}

View 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()

View 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'