tiny-irc-client-git

PKGBUILD for an irc client written in Rust
git clone git://git.wrycode.com/wrycode/AUR/tiny-irc-client-git.git
Log | Files | Refs

commit a28302375caf23069998f55ba861b5806c69fe1e
parent 694afc8587ed4043ddf9af2b92a6624db36fb8cf
Author: Nick Econopouly <wry@mm.st>
Date:   Thu, 19 Nov 2020 15:40:58 -0500

Add -p flag to mkdir command

Diffstat:
MPKGBUILD | 30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD @@ -13,23 +13,23 @@ source=(git+$url) sha512sums=(SKIP) build() { - # Installs the Rust nightly toolchain to a temporary - # directory. If you already have the toolchain installed, - # e.g. via the script at https://rustup.rs/ or another - # package, you can remove the rust-nightly dependancy and - # comment out the following three commands. - - mkdir nightly - export RUSTUP_HOME=$(pwd)/nightly - rustup toolchain install nightly + # Installs the Rust nightly toolchain to a temporary + # directory. If you already have the toolchain installed, + # e.g. via the script at https://rustup.rs/ or another + # package, you can remove the rust-nightly dependancy and + # comment out the following three commands. - # build tiny - cd tiny - cargo +nightly build --release + mkdir -p nightly + export RUSTUP_HOME=$(pwd)/nightly + rustup toolchain install nightly + + # build tiny + cd tiny + cargo +nightly build --release } package() { - cd tiny - install -Dm755 target/release/tiny "$pkgdir/usr/bin/tiny" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/tiny/LICENSE" + cd tiny + install -Dm755 target/release/tiny "$pkgdir/usr/bin/tiny" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/tiny/LICENSE" }