mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-23 22:36:18 +00:00
12 lines
263 B
Bash
Executable File
12 lines
263 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
mkdir -p target/snapshot
|
|
cp cargo-bootstrap/cargo/bin/cargo cargo
|
|
|
|
./cargo update
|
|
./cargo build --release
|
|
|
|
install -Dm755 target/release/cargo "$1/usr/bin/cargo"
|
|
install -d "$1/usr/share/man/man1"
|
|
install -m644 src/etc/man/* "$1/usr/share/man/man1"
|