diff --git a/BioArchLinux/gatb-core/PKGBUILD b/BioArchLinux/gatb-core/PKGBUILD index 1f52462b5b..de50d61e62 100644 --- a/BioArchLinux/gatb-core/PKGBUILD +++ b/BioArchLinux/gatb-core/PKGBUILD @@ -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" diff --git a/prepare/kmerinshort/PKGBUILD b/BioArchLinux/kmerinshort/PKGBUILD similarity index 54% rename from prepare/kmerinshort/PKGBUILD rename to BioArchLinux/kmerinshort/PKGBUILD index c0a4b53709..07126758e7 100644 --- a/prepare/kmerinshort/PKGBUILD +++ b/BioArchLinux/kmerinshort/PKGBUILD @@ -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" } diff --git a/prepare/kmerinshort/lilac.py b/BioArchLinux/kmerinshort/lilac.py similarity index 100% rename from prepare/kmerinshort/lilac.py rename to BioArchLinux/kmerinshort/lilac.py diff --git a/prepare/kmerinshort/lilac.yaml b/BioArchLinux/kmerinshort/lilac.yaml similarity index 100% rename from prepare/kmerinshort/lilac.yaml rename to BioArchLinux/kmerinshort/lilac.yaml