mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
KmerInShort: ready
This commit is contained in:
parent
2da6a72e3b
commit
84618d77c1
4 changed files with 10 additions and 10 deletions
|
@ -4,7 +4,7 @@ pkgbase=gatb-core
|
|||
pkgname=(gatb-core gatb-core-doc)
|
||||
_pkgname=gatb-core
|
||||
pkgver=1.4.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="The Genome Analysis Toolbox with de-Bruijn graph"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/GATB/gatb-core/tree/master"
|
||||
|
|
|
@ -3,15 +3,14 @@
|
|||
pkgname=kmerinshort
|
||||
_pkgname=KmerInShort
|
||||
pkgver=1.0.1
|
||||
pkgrel=1
|
||||
pkgrel=0
|
||||
pkgdesc="short kmer counter"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/rizkg/KmerInShort"
|
||||
license=('AGPL')
|
||||
|
||||
depends=()
|
||||
depends=('gcc-libs' 'zlib')
|
||||
makedepends=('gcc' 'make' 'cmake' 'git')
|
||||
optdepends=()
|
||||
|
||||
source=(git+https://github.com/rizkg/KmerInShort.git#tag=v${pkgver})
|
||||
sha256sums=('SKIP')
|
||||
|
@ -19,16 +18,17 @@ prepare() {
|
|||
cd "$_pkgname"
|
||||
git submodule update --init --recursive
|
||||
mkdir -p build
|
||||
|
||||
sed -i '/sys\/vtimes.h/d' gatb-core/gatb-core/src/gatb/system/impl/SystemInfoCommon.cpp
|
||||
}
|
||||
build() {
|
||||
cd "$_pkgname"
|
||||
cd build
|
||||
cmake ..
|
||||
cd "$_pkgname"/build
|
||||
cmake ../ -DCMAKE_C_FLAGS='-Wno-error' -DCMAKE_CXX_FLAGS='-Wno-error' \
|
||||
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname"
|
||||
|
||||
make DESTDIR="$pkgdir/" install
|
||||
cd "$_pkgname"/build
|
||||
install -Dm755 ${_pkgname} -t "$pkgdir/usr/bin"
|
||||
}
|
Loading…
Add table
Reference in a new issue