mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add gatb-core but kmerinshort fail due to the submodule
This commit is contained in:
parent
4c7201ea84
commit
d08255711a
6 changed files with 111 additions and 0 deletions
35
BioArchLinux/gatb-core/PKGBUILD
Normal file
35
BioArchLinux/gatb-core/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# guoyi
|
||||||
|
|
||||||
|
pkgname=gatb-core
|
||||||
|
pkgver=1.4.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Core library of the Genome Analysis Toolbox with de-Bruijn graph"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/GATB/gatb-core"
|
||||||
|
license=('AGPL')
|
||||||
|
|
||||||
|
depends=()
|
||||||
|
makedepends=('gcc' 'make' 'cmake')
|
||||||
|
optdepends=()
|
||||||
|
|
||||||
|
source=(https://github.com/GATB/gatb-core/archive/refs/tags/v${pkgver}.tar.gz)
|
||||||
|
sha256sums=('824c84a3712973746b977a9d49923fd499021a894225231100eaad1a66e9742d')
|
||||||
|
prepare() {
|
||||||
|
cd "$pkgname-$pkgver"/$pkgname
|
||||||
|
mkdir -p build
|
||||||
|
}
|
||||||
|
build() {
|
||||||
|
cd "$pkgname-$pkgver"/$pkgname
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make -j 4
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$pkgname-$pkgver"/$pkgname
|
||||||
|
cd build
|
||||||
|
install -dm755 "$pkgdir"/usr/{bin,lib,include}
|
||||||
|
mv bin/* $pkgdir/usr/bin/
|
||||||
|
mv lib/* $pkgdir/usr/lib/
|
||||||
|
mv include/* $pkgdir/usr/include
|
||||||
|
}
|
12
BioArchLinux/gatb-core/lilac.py
Normal file
12
BioArchLinux/gatb-core/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()
|
||||||
|
update_aur_repo()
|
9
BioArchLinux/gatb-core/lilac.yaml
Normal file
9
BioArchLinux/gatb-core/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: kuoi@bioarchlinux.org
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: GATB/gatb-core
|
||||||
|
use_latest_release: true
|
||||||
|
prefix: 'v'
|
34
prepare/kmerinshort/PKGBUILD
Normal file
34
prepare/kmerinshort/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# guoyi
|
||||||
|
|
||||||
|
pkgname=kmerinshort
|
||||||
|
_pkgname=KmerInShort
|
||||||
|
pkgver=1.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="short kmer counter"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/rizkg/KmerInShort"
|
||||||
|
license=('AGPL')
|
||||||
|
|
||||||
|
depends=()
|
||||||
|
makedepends=('gcc' 'make' 'cmake' 'git')
|
||||||
|
optdepends=()
|
||||||
|
|
||||||
|
source=(git+https://github.com/rizkg/KmerInShort.git#tag=v${pkgver})
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
prepare() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
git submodule update --init --recursive
|
||||||
|
mkdir -p build
|
||||||
|
}
|
||||||
|
build() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
}
|
12
prepare/kmerinshort/lilac.py
Normal file
12
prepare/kmerinshort/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()
|
||||||
|
update_aur_repo()
|
9
prepare/kmerinshort/lilac.yaml
Normal file
9
prepare/kmerinshort/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: kuoi@bioarchlinux.org
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: rizkg/KmerInShort
|
||||||
|
use_latest_release: true
|
||||||
|
prefix: 'v'
|
Loading…
Add table
Reference in a new issue