2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
repo/extra/cargo/build

12 lines
263 B
Plaintext
Raw Normal View History

2019-08-06 02:25:52 -06:00
#!/bin/sh -e
2019-07-29 22:35:54 -06:00
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"