Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-03-10 17:37:46 +0200
committerTasos Sahanidis <tasos@tasossah.com>2024-03-10 17:37:57 +0200
commit803fb2a3649e3173754bd8e35c792cd8da770812 (patch)
treef0f7654760b3e8bc0e5bc12217c204e0eeec3bb4 /build-support
parenta013e79a20604c67513b1a53065ce9f0feaf912f (diff)
build-support/rust176-bin: Add new rust for bootstrap
Diffstat (limited to 'build-support')
-rw-r--r--build-support/rust176-bin/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/build-support/rust176-bin/PKGBUILD b/build-support/rust176-bin/PKGBUILD
new file mode 100644
index 00000000..59dbc949
--- /dev/null
+++ b/build-support/rust176-bin/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=rust176-bin
+pkgver=1.76.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=('9d589d2036b503cc45ecc94992d616fb3deec074deb36cacc2f5c212408f7399'
+ 'SKIP')
+sha256sums_pentium4=('4c3eefc9341b8809235e6c4fbcbc19ab52a5cbe771292c400df068c12984fa3e'
+ 'SKIP')
+sha256sums_i686=('4c3eefc9341b8809235e6c4fbcbc19ab52a5cbe771292c400df068c12984fa3e'
+ 'SKIP')
+
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
+
+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"
+}