mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fermi-lite: use lh3 and apply patch
This commit is contained in:
parent
a636733054
commit
9c8f75f199
2 changed files with 10 additions and 6 deletions
|
@ -1,16 +1,19 @@
|
|||
# Maintainer: PumpkinCheshire <sollyonzou at gmail dot com>
|
||||
|
||||
pkgname=fermi-lite
|
||||
pkgver=0.1.r15.g5bc90f8
|
||||
pkgver=0.1.r13.g85f159e
|
||||
pkgrel=1
|
||||
pkgdesc="Standalone C library for assembling Illumina short reads in small regions"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/walaj/fermi-lite"
|
||||
url="https://github.com/lh3/fermi-lite"
|
||||
license=('MIT')
|
||||
depends=('zlib')
|
||||
makedepends=('git' 'make')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
makedepends=('git' 'make' 'patch')
|
||||
source=("git+${url}.git"
|
||||
"001-bwa.patch::${url}/compare/master...walaj:fermi-lite:master.diff"
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'9f77d739ad2b276344d4ee3301c41247550242c7ad26dd47088934c1341e3bda')
|
||||
|
||||
pkgver() {
|
||||
git -C ${pkgname} describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
|
@ -20,6 +23,7 @@ prepare(){
|
|||
cd ${pkgname}
|
||||
sed -i "s|CFLAGS=|CFLAGS=-fPIC |" Makefile
|
||||
sed -i "s|^const|extern const|" rle.h
|
||||
patch --strip=1 --fuzz=3 < ../001-bwa.patch
|
||||
}
|
||||
build() {
|
||||
cd "$srcdir/${pkgname}"
|
||||
|
|
|
@ -5,4 +5,4 @@ post_build_script: |
|
|||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: github
|
||||
github: walaj/fermi-lite
|
||||
github: lh3/fermi-lite
|
||||
|
|
Loading…
Add table
Reference in a new issue