summaryrefslogtreecommitdiff
path: root/zoxide
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-05-22 22:39:37 +0200
committerTim Biermann <tbier@posteo.de>2022-05-22 22:58:21 +0200
commit85a1f84cf7ebaa6dd5be5774dfabca87c6a25a0f (patch)
tree4e2c5ec1472d9035e079a26cd60e6a3dc44fa48f /zoxide
parent596a4e588c5d8054025ff1f3418ce4f31bc2092d (diff)
downloadcontrib-85a1f84cf7ebaa6dd5be5774dfabca87c6a25a0f.tar.gz
contrib-85a1f84cf7ebaa6dd5be5774dfabca87c6a25a0f.tar.xz
zoxide: initial commit, version 0.8.1
Diffstat (limited to 'zoxide')
-rw-r--r--zoxide/.footprint3
-rw-r--r--zoxide/.signature5
-rw-r--r--zoxide/Pkgfile21
3 files changed, 29 insertions, 0 deletions
diff --git a/zoxide/.footprint b/zoxide/.footprint
new file mode 100644
index 000000000..1a0a5d4e9
--- /dev/null
+++ b/zoxide/.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/zoxide
diff --git a/zoxide/.signature b/zoxide/.signature
new file mode 100644
index 000000000..6075b2b83
--- /dev/null
+++ b/zoxide/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF33n9wwKjSkLx8iY2vl13oFzbs3KGH9mmi2bZ7bK1q+2+Hd4RDmuecB5L5inVxl3Udiy0yQIohtKs/NlsHvGvlAo=
+SHA256 (Pkgfile) = 75d31b015abe6ae54c77c7a5986a17a0084812dd49a1de8200e1cea179de9b29
+SHA256 (.footprint) = c70da349a0e2283dc4aefffce8b0fae805a97a164fbdd56c1ee2d42826bff019
+SHA256 (zoxide-0.8.1.tar.gz) = 55f4bf374421f842f5541d95db14d7a63f5d24e269613fb95f769f00cdb9ffc3
diff --git a/zoxide/Pkgfile b/zoxide/Pkgfile
new file mode 100644
index 000000000..bdd9d13d5
--- /dev/null
+++ b/zoxide/Pkgfile
@@ -0,0 +1,21 @@
+# Description: A smarter cd command. Supports all major shells.
+# URL: https://github.com/ajeetdsouza/zoxide
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: rust
+
+name=zoxide
+version=0.8.1
+release=2
+source=(https://github.com/ajeetdsouza/zoxide/archive/v$version/$name-$version.tar.gz)
+
+build() {
+ prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
+ [[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
+
+ cargo build --release --manifest-path $name-$version/Cargo.toml
+
+ prt-get isinst bash-completion && install -vDm644 $name-$version/contrib/completions/zoxide.bash $PKG/usr/share/bash-completion/completions/zoxide
+ prt-get isinst zsh && install -vDm644 -t $PKG/usr/share/zsh/site-functions $name-$version/contrib/completions/_zoxide
+
+ install -Dt $PKG/usr/bin $name-$version/target/release/$name
+}

Generated by cgit