contrib/atuin/Pkgfile

19 lines
540 B
Plaintext
Raw Normal View History

2021-06-27 15:49:30 +02:00
# Description: Magical shell history
# URL: https://github.com/ellie/atuin
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
name=atuin
2023-03-01 08:02:15 +01:00
version=13.0.1
2021-06-27 15:49:30 +02: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 15:49:30 +02:00
2023-02-27 19:22:57 +01:00
cargo build --release --manifest-path $name-$version/Cargo.toml
2021-06-27 15:49:30 +02:00
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}