mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/rust to 1.44.1-1
This commit is contained in:
parent
410e15c4bc
commit
936a235853
1 changed files with 15 additions and 3 deletions
|
@ -15,8 +15,8 @@ highmem=1
|
|||
|
||||
pkgname=('rust' 'rust-docs')
|
||||
epoch=1
|
||||
pkgver=1.44.0
|
||||
pkgrel=2
|
||||
pkgver=1.44.1
|
||||
pkgrel=1
|
||||
|
||||
_llvm_ver=10.0.0
|
||||
|
||||
|
@ -33,7 +33,7 @@ options=('!emptydirs' '!strip')
|
|||
source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
|
||||
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig})
|
||||
|
||||
sha256sums=('bf2df62317e533e84167c5bc7d4351a99fdab1f9cd6e6ba09f51996ad8561100'
|
||||
sha256sums=('7e2e64cb298dd5d5aea52eafe943ba0458fa82f2987fdcda1ff6f537b6f88473'
|
||||
'SKIP'
|
||||
'6a7da64d3a0a7320577b68b9ca4933bdcab676e898b759850e827333c3282c75'
|
||||
'SKIP')
|
||||
|
@ -105,6 +105,18 @@ build() {
|
|||
python ./x.py dist $jobs
|
||||
DESTDIR="$PWD"/dest-rust python ./x.py install -j "$(nproc)"
|
||||
|
||||
# Remove analysis data for libs that weren't installed
|
||||
# TODO: Find out where these come from
|
||||
local file lib
|
||||
while read -rd '' file; do
|
||||
lib="${file%.json}.rlib"
|
||||
lib="${lib/\/analysis\///lib/}"
|
||||
if [[ ! -e $lib ]]; then
|
||||
echo "missing '$lib'"
|
||||
rm -v "$file"
|
||||
fi
|
||||
done < <(find "dest-rust/usr/lib/rustlib" -path '*/analysis/*.json' -print0)
|
||||
|
||||
# move docs out of the way for splitting
|
||||
mv dest-rust/usr/share/doc dest-doc
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue