diff --git a/BioArchLinux/gatb-core/PKGBUILD b/BioArchLinux/gatb-core/PKGBUILD new file mode 100644 index 0000000000..56c9342828 --- /dev/null +++ b/BioArchLinux/gatb-core/PKGBUILD @@ -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 +} diff --git a/BioArchLinux/gatb-core/lilac.py b/BioArchLinux/gatb-core/lilac.py new file mode 100644 index 0000000000..c6d1de3db7 --- /dev/null +++ b/BioArchLinux/gatb-core/lilac.py @@ -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() diff --git a/BioArchLinux/gatb-core/lilac.yaml b/BioArchLinux/gatb-core/lilac.yaml new file mode 100644 index 0000000000..6ab64ebe30 --- /dev/null +++ b/BioArchLinux/gatb-core/lilac.yaml @@ -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' diff --git a/prepare/kmerinshort/PKGBUILD b/prepare/kmerinshort/PKGBUILD new file mode 100644 index 0000000000..c0a4b53709 --- /dev/null +++ b/prepare/kmerinshort/PKGBUILD @@ -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 +} diff --git a/prepare/kmerinshort/lilac.py b/prepare/kmerinshort/lilac.py new file mode 100644 index 0000000000..c6d1de3db7 --- /dev/null +++ b/prepare/kmerinshort/lilac.py @@ -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() diff --git a/prepare/kmerinshort/lilac.yaml b/prepare/kmerinshort/lilac.yaml new file mode 100644 index 0000000000..cd04a99633 --- /dev/null +++ b/prepare/kmerinshort/lilac.yaml @@ -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'