From 5ca6b0fd9f2e4a22cdfa459c601dcbd825161da7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 22 Jan 2023 10:10:10 +0100 Subject: added rust165-bin to build-support (for rust 1.66 bootstrapping) --- build-support/rust165-bin/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 build-support/rust165-bin/PKGBUILD (limited to 'build-support/rust165-bin') diff --git a/build-support/rust165-bin/PKGBUILD b/build-support/rust165-bin/PKGBUILD new file mode 100644 index 00000000..59686c92 --- /dev/null +++ b/build-support/rust165-bin/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Andreas Baumann + +pkgname=rust165-bin +pkgver=1.65.0 +pkgrel=1 +pkgdesc='Binary precompiled packages for Rust' +url='https://www.rust-lang.org/' +arch=(x86_64 pentium4 i686) +license=('MIT' 'Apache') +provides=('rust' 'cargo') +conflicts=('rust' 'cargo') +options=('!emptydirs') + +source_x86_64=("https://static.rust-lang.org/dist/rust-$pkgver-x86_64-unknown-linux-gnu.tar.gz"{,.asc}) +source_pentium4=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc}) +source_i686=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc}) + +sha256sums_x86_64=('8f754fdd5af783fe9020978c64e414cb45f3ad0a6f44d045219bbf2210ca3cb9' + 'SKIP') +sha256sums_pentium4=('b29869f8e2c7029150a929b2c4e26843f363846ad99253a25be6abcfa8e84f46' + 'SKIP') +sha256sums_i686=('b29869f8e2c7029150a929b2c4e26843f363846ad99253a25be6abcfa8e84f46' + 'SKIP') + +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) + '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard + +case "${CARCH}" in + x86_64) _ARCH='x86_64-unknown-linux-gnu';; + i686|pentium4) _ARCH='i686-unknown-linux-gnu';; +esac + +package() { + cd "rust-$pkgver-$_ARCH" + + ./install.sh --prefix=/usr --destdir="$pkgdir" +} -- cgit v1.2.3-70-g09d2