diff options
author | Tim Biermann <tbier@posteo.de> | 2021-06-27 13:49:30 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-06-27 13:50:52 +0000 |
commit | f9a5d73b08f9743d24a47569e2cf13c1bae65e1a (patch) | |
tree | 5e33869aee65c4e7ee29ac41de09cc7b6636588f /atuin | |
parent | 96deefe93e99848901d9b009a9424bc1d4f9161a (diff) | |
download | contrib-f9a5d73b08f9743d24a47569e2cf13c1bae65e1a.tar.gz contrib-f9a5d73b08f9743d24a47569e2cf13c1bae65e1a.tar.xz |
atuin: initial commit, version 0.7.1
Diffstat (limited to 'atuin')
-rw-r--r-- | atuin/.footprint | 3 | ||||
-rw-r--r-- | atuin/.signature | 5 | ||||
-rw-r--r-- | atuin/Pkgfile | 20 |
3 files changed, 28 insertions, 0 deletions
diff --git a/atuin/.footprint b/atuin/.footprint new file mode 100644 index 000000000..9601ab701 --- /dev/null +++ b/atuin/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/atuin diff --git a/atuin/.signature b/atuin/.signature new file mode 100644 index 000000000..61cc39e08 --- /dev/null +++ b/atuin/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF32ZCPBNnP1atff3z1O5tQAQ1MSHoUaqra7qf83s4lgUNMimBPlfZj2AzTVMgRCpzZQYMVHWXkjE1cPkU62XLCAM= +SHA256 (Pkgfile) = 776dfa6b0b6b4c0d57ea435bc74624d25d630b8211a1cea4d8afe5e54d647fb2 +SHA256 (.footprint) = e00a72cbae6f94bccf7b886a7ca68f035fb8c3afbbf35acb770cf3ecd413e7ce +SHA256 (atuin-0.7.1.tar.gz) = 0e1cd2104c6fa4cd2d6f30ae9771ed3f22f78a4e0e7b5243e42abb753b792c38 diff --git a/atuin/Pkgfile b/atuin/Pkgfile new file mode 100644 index 000000000..06d15ded5 --- /dev/null +++ b/atuin/Pkgfile @@ -0,0 +1,20 @@ +# Description: Magical shell history +# URL: https://github.com/ellie/atuin +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=atuin +version=0.7.1 +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 + mkdir "$PKGMK_SOURCE_DIR/rust" || true + export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + cargo update --manifest-path $name-$version/Cargo.toml + cargo build --release --locked --manifest-path $name-$version/Cargo.toml + + install -Dt $PKG/usr/bin $name-$version/target/release/$name +} |