index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-03-31 15:39:34 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-03-31 15:39:34 +0200 |
commit | ae67e45189bf8d6cc5b43911841eccca4d301d26 (patch) | |
tree | 96cf19cda922130019731a0b8cb069a5fc1a5512 /build-support/rust168-bin/PKGBUILD | |
parent | b4a00194553c17f6fbb38cfdf72d6ca2ae4c533b (diff) |
-rw-r--r-- | build-support/rust168-bin/PKGBUILD | 37 |
diff --git a/build-support/rust168-bin/PKGBUILD b/build-support/rust168-bin/PKGBUILD new file mode 100644 index 00000000..0f1b54d1 --- /dev/null +++ b/build-support/rust168-bin/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Andreas Baumann <mail@andreasbaumann.cc> + +pkgname=rust168-bin +pkgver=1.68.2 +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=('df7c7466ef35556e855c0d35af7ff08e133040400452eb3427c53202b6731926' + 'SKIP') +sha256sums_pentium4=('a85e1aa0831e8bd31dc8ba3e042b6dea69b4d45fd5d1111bf6fd2cc9d58dd619' + 'SKIP') +sha256sums_i686=('a85e1aa0831e8bd31dc8ba3e042b6dea69b4d45fd5d1111bf6fd2cc9d58dd619' + '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" +} |