blob: 6d4d43bac0f1ba3cf62e98f4e108b4717ab07337 (
plain)
1 # Description: The Rust language with Cargo included (binary edition).
2 # URL: https://www.rust-lang.org/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: llvm
5 # Optional: sccache
6
7 name=rust-bin
8 version=1.44.1
9 release=1
10 source=(https://crux.ster.zone/downloads/rust/rust-$version-$release-crux-3.5-bin.tar.xz)
11
12 build() {
13 cp -a $SRC/usr $PKG/
14 find $PKG -name 'README.md' -exec rm '{}' \+
15 find $PKG -type d -exec chmod g-s+x '{}' \+
16 }
|