procs: initial commit, version 0.11.7
This commit is contained in:
parent
f6b160881e
commit
d976f04551
3
procs/.footprint
Normal file
3
procs/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/procs
|
5
procs/.signature
Normal file
5
procs/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yFPzyEFeLD2upIFGsLpRlJv3TBPZVpX9GxoaVmrbTeB5F7Mewvoka+6uaI1dHQ+Hw6j0Q+sy4GmguJJTFFksw4=
|
||||
SHA256 (Pkgfile) = 00133a4fb40c219c9b4aa9c570d566342d70249eab513d178586d24b46fa9670
|
||||
SHA256 (.footprint) = 8a8cd0fb3ec66c6849fa052ef457bc9ce37889d9a5d9f035f2c755a1c2cab2db
|
||||
SHA256 (procs-0.11.7.tar.gz) = 39758bb7070e8c3d2490a0ef5cad2cfaabf2e69be0c3a5e90c386507fe6e6970
|
27
procs/Pkgfile
Normal file
27
procs/Pkgfile
Normal file
@ -0,0 +1,27 @@
|
||||
# Description: ps written in rust
|
||||
# URL: https://github.com/dalance/procs
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=procs
|
||||
version=0.11.7
|
||||
release=1
|
||||
source=(https://github.com/dalance/procs/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 fetch --manifest-path $name-$version/Cargo.toml --locked
|
||||
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
|
||||
prt-get isinst bash-completion && $PKG/usr/bin/procs --completion bash && \
|
||||
install -Dm644 $SRC/procs.bash \
|
||||
$PKG/usr/share/bash-completion/completions/procs
|
||||
prt-get isinst zsh && $PKG/usr/bin/procs --completion zsh && \
|
||||
install -Dm644 $SRC/_procs $PKG//usr/share/zsh/site-functions/_procs
|
||||
}
|
Loading…
Reference in New Issue
Block a user