alevin-fry: fix build (#158)

This commit is contained in:
pekkarr 2023-06-30 19:44:57 +03:00 committed by GitHub
parent 64e9b13486
commit 134f7c401c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View file

@ -1,19 +1,19 @@
# Maintainer: bipin kumar <kbipinkumar@pm.me> # Maintainer: bipin kumar <kbipinkumar@pm.me>
pkgname=alevin-fry pkgname=alevin-fry
pkgver=0.8.1 pkgver=0.8.2
pkgrel=1 pkgrel=0
pkgdesc='A suite of tools for the rapid, accurate and memory-frugal processing single-cell and single-nucleus sequencing data' pkgdesc='A suite of tools for the rapid, accurate and memory-frugal processing single-cell and single-nucleus sequencing data'
arch=(x86_64) arch=(x86_64)
depends=('gcc-libs' 'glibc' 'bzip2') depends=('gcc-libs' 'glibc' 'bzip2')
makedepends=('git' 'rust' 'cmake') makedepends=('git' 'rust' 'cmake')
url='https://alevin-fry.readthedocs.io/en/latest/' url='https://alevin-fry.readthedocs.io/en/latest/'
license=('custom:BSD-3') license=('custom:BSD-3')
options=(!lto)
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/COMBINE-lab/alevin-fry/archive/refs/tags/v${pkgver}.tar.gz) source=(${pkgname}-${pkgver}.tar.gz::https://github.com/COMBINE-lab/alevin-fry/archive/refs/tags/v${pkgver}.tar.gz)
sha256sums=('ecbe927c76a0e084a81ccba4c526a22d3750687d5372625de170b0018de9a5a1') sha256sums=('7feaa5b59c6537eee9d1a2a07797f151ba6a50955a969fa1807dcb7aeb357ab1')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
sed -i 's/thin/off/g' Cargo.toml
export RUSTUP_TOOLCHAIN=stable export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$CARCH-unknown-linux-gnu" cargo fetch --target "$CARCH-unknown-linux-gnu"
} }
@ -22,14 +22,14 @@ build() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
export RUSTUP_TOOLCHAIN=stable export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target export CARGO_TARGET_DIR=target
cargo build --frozen --release --all-features --verbose cargo build --frozen --release --all-features
} }
#check() { check() {
#cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
#export RUSTUP_TOOLCHAIN=stable export RUSTUP_TOOLCHAIN=stable
#cargo test --frozen --all-features cargo test --frozen --all-features
#} }
package() { package() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}

View file

@ -7,6 +7,7 @@ pre_build_script: |
run_cmd(['updpkgsums']) run_cmd(['updpkgsums'])
post_build_script: | post_build_script: |
git_pkgbuild_commit() git_pkgbuild_commit()
update_aur_repo()
update_on: update_on:
- source: github - source: github
github: COMBINE-lab/alevin-fry github: COMBINE-lab/alevin-fry