2021-06-27 13:49:30 +00:00
|
|
|
# Description: Magical shell history
|
|
|
|
# URL: https://github.com/ellie/atuin
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2024-06-10 23:05:01 +02:00
|
|
|
# Depends on: protobuf rust
|
2021-06-27 13:49:30 +00:00
|
|
|
|
|
|
|
name=atuin
|
2024-06-10 23:05:01 +02:00
|
|
|
version=18.3.0
|
2021-06-27 13:49:30 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/ellie/atuin/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
2023-02-27 19:22:57 +01:00
|
|
|
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
2021-06-27 13:49:30 +00:00
|
|
|
|
2023-02-27 19:22:57 +01:00
|
|
|
cargo build --release --manifest-path $name-$version/Cargo.toml
|
2021-06-27 13:49:30 +00:00
|
|
|
|
|
|
|
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
|
|
|
}
|