forked from ports/contrib
handlr: initial commit, version 0.4.5
This commit is contained in:
parent
d10edbe797
commit
4834017bf6
3
handlr/.footprint
Normal file
3
handlr/.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/handlr
|
5
handlr/.signature
Normal file
5
handlr/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wOxRU+ies42jnaJyzuqEU4ORBqCDj/R8Xw+YZ2D40nKN0OP1P6z/HRo0dyy/49LhoucTUwtFjLPa4T7xckQtAk=
|
||||
SHA256 (Pkgfile) = 36633443f9d986d633617f94c2b168b2733f37c2a420bc64a29f9212ca2c6624
|
||||
SHA256 (.footprint) = 6b3abe8c8e8c450b3a5ae1ceda4c4f15a6faf0567db1d4a840fe38d8060702bd
|
||||
SHA256 (handlr-0.4.5.tar.gz) = 0929c3f332646c07c8c6755415a3a7662401d6753d584f8d16582021fc4fdc78
|
22
handlr/Pkgfile
Normal file
22
handlr/Pkgfile
Normal file
@ -0,0 +1,22 @@
|
||||
# Description: xdg-utils replacement written in rust
|
||||
# URL: https://github.com/chmln/handlr
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=handlr
|
||||
version=0.4.5
|
||||
release=1
|
||||
source=(https://github.com/chmln/handlr/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
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
|
||||
cargo fetch
|
||||
cargo build --release --locked
|
||||
install -Dt $PKG/usr/bin target/release/handlr
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user