Created
March 11, 2018 16:48
-
-
Save Libbum/ccd5be184bc6a6eceedbd45f05678b44 to your computer and use it in GitHub Desktop.
rustup-dummy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=rustup-dummy | |
pkgver=0.0.1 | |
pkgrel=1 | |
pkgdesc='Makes pacman think that rustup, rust, and cargo are installed. (For users who installed via rustup.rs)' | |
arch=('any') | |
license=('custom:CC0') | |
provides=('cargo' 'rust' 'rustup') | |
source=('https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt') | |
md5sums=('65d3616852dbf7b1a6d4b53b00626032') | |
package() { | |
install -D -m644 legalcode.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
cat << EOF | |
╭────────────────────────────────────────────────────╮ | |
│ │ | |
│ Make sure that you actually have rust installed! │ | |
│ 'curl https://sh.rustup.rs -sSf | sh' │ | |
│ │ | |
╰────────────────────────────────────────────────────╯ | |
EOF | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment