Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

pkgname=atuin
pkgver=18.10.0
pkgrel=1
pkgrel=2
pkgdesc="Magical shell history"
arch=(x86_64 aarch64 riscv64 loongarch64)
url="https://atuin.sh"
license=(MIT)
depends=(musl llvm-libs)
depends=(musl llvm-libs sqlite)
makedepends=(rust)
optdepends=('blesh: bash integration')
source=("https://github.com/atuinsh/atuin/archive/v$pkgver/atuin-$pkgver.tar.gz")
Expand All @@ -20,7 +20,7 @@ prepare() {

build() {
cd $pkgname-$pkgver
cargo build --release --frozen --all-features
LIBSQLITE3_SYS_USE_PKG_CONFIG=1 cargo build --release --frozen --all-features
mkdir completions/
for sh in bash fish zsh; do
target/release/$pkgname gen-completions -s $sh -o completions/
Expand All @@ -31,7 +31,7 @@ check() {
cd $pkgname-$pkgver
# skipping atuin sync tests in binary crates, as atuin sync is an online
# feature whose test requires complicated server deployment
cargo test --frozen --all-features --lib
LIBSQLITE3_SYS_USE_PKG_CONFIG=1 cargo test --frozen --all-features --lib
}

package() {
Expand Down