mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Maintainer: bipin kumar <kbipinkumar@pm.me>
|
|
pkgname=alevin-fry
|
|
pkgver=0.11.2
|
|
pkgrel=1
|
|
pkgdesc='A suite of tools for the rapid, accurate and memory-frugal processing single-cell and single-nucleus sequencing data'
|
|
arch=(x86_64)
|
|
depends=('gcc-libs' 'glibc' 'bzip2')
|
|
makedepends=('git' 'rust' 'cmake')
|
|
url='https://alevin-fry.readthedocs.io/en/latest/'
|
|
license=('BSD-3-Clause')
|
|
options=(!lto)
|
|
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/COMBINE-lab/alevin-fry/archive/refs/tags/v${pkgver}.tar.gz)
|
|
sha256sums=('415106d13a39812ed0e671393480840477ff1a6073dcc794ffb52fa583460906')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
export RUSTUP_TOOLCHAIN=stable
|
|
cargo fetch --target "$CARCH-unknown-linux-gnu"
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
export RUSTUP_TOOLCHAIN=stable
|
|
export CARGO_TARGET_DIR=target
|
|
cargo build --frozen --release --all-features
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
export RUSTUP_TOOLCHAIN=stable
|
|
cargo test --frozen --all-features
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
|
|
}
|