1
0
forked from ports/opt
opt/rust-bin/Pkgfile

17 lines
452 B
Plaintext
Raw Normal View History

# Description: The Rust language with Cargo included (binary edition).
2020-06-20 17:46:40 +10:00
# URL: https://www.rust-lang.org/
# Maintainer: Danny Rawlins, crux at romster dot me
2019-12-29 01:07:51 +11:00
# Depends on: llvm
# Optional: sccache
name=rust-bin
2020-08-02 10:55:30 +10:00
version=1.45.1
release=2
2019-08-21 23:06:45 +10:00
source=(https://crux.ster.zone/downloads/rust/rust-$version-$release-crux-3.5-bin.tar.xz)
build() {
cp -a $SRC/usr $PKG/
2019-08-21 23:06:45 +10:00
find $PKG -name 'README.md' -exec rm '{}' \+
2020-03-14 15:54:38 +11:00
find $PKG -type d -exec chmod g-s+x '{}' \+
}