Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/disabled/rust-bin
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-12-11 10:59:57 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-12-11 10:59:57 +0100
commitd56c0bde97e359834070bbdad66db9414e82e28a (patch)
tree6acbdc2310d846455627ca90034f37a13f843ee7 /build-support/disabled/rust-bin
parentc0a21615b3832e1b14e078005fff934825756930 (diff)
disabled rust-bin in build-support
Diffstat (limited to 'build-support/disabled/rust-bin')
-rw-r--r--build-support/disabled/rust-bin/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/build-support/disabled/rust-bin/PKGBUILD b/build-support/disabled/rust-bin/PKGBUILD
new file mode 100644
index 00000000..d6610764
--- /dev/null
+++ b/build-support/disabled/rust-bin/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=rust-bin
+pkgver=1.57.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=('ea0253784b2e5c22659ff148d492a68d2e11da734491714ebc61cc93896efcda'
+ 'SKIP')
+sha256sums_pentium4=('7e4ac8ca2874897099a3ceb89039ceee170f474a98ee247589fd6bca8dda7cfa'
+ 'SKIP')
+sha256sums_i686=('7e4ac8ca2874897099a3ceb89039ceee170f474a98ee247589fd6bca8dda7cfa'
+ '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"
+}