rust nightly

This commit is contained in:
Ella-0 2021-02-04 22:30:41 +00:00
parent 7c0fa83de8
commit 58954c1a5e
2 changed files with 5 additions and 6 deletions

View file

@ -1,11 +1,11 @@
pkgver=0.3.1
pkgver=master
pkgname=netbsd-curses
bad=""
deps="musl"
ext="doc:dev"
fetch() {
curl -L http://github.com/sabotage-linux/netbsd-curses/archive/v$pkgver.tar.gz -o $pkgname-$pkgver.tar.gz
curl -L "https://github.com/sabotage-linux/netbsd-curses/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}

View file

@ -16,6 +16,7 @@
pkgname=rust
pkgver=1.49.0
pkgver=nightly
_clear_vendor_checksums() {
@ -80,9 +81,7 @@ build() {
--set="target.x86_64-unknown-linux-musl.cc=cc" \
--set="target.x86_64-unknown-linux-musl.cxx=c++" \
--set="target.x86_64-unknown-linux-musl.ar=ar" \
--set="target.x86_64-unknown-linux-musl.linker=cc" \
--set="build.rustc=/root/lazybox/diskroot/usr/bin/rustc" \
--set="build.cargo=/root/lazybox/diskroot/usr/bin/cargo"
--set="target.x86_64-unknown-linux-musl.linker=cc"
sed 's/#deny-warnings = .*/deny-warnings = false/' -i config.toml
sed 's|deny(warnings,|deny(|' -i src/bootstrap/lib.rs
@ -97,6 +96,6 @@ package() {
license() {
cd $pkgname-$pkgver
cat LICENSE
cat LICENSE-MIT
# cat COPYING
}