index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-12-11 11:03:36 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-12-11 11:03:36 +0100 |
commit | 480a3d7dd1168fa6cee7ffd014275af76cb75112 (patch) | |
tree | e4a3072d632b76a53e36e425395944b9d230324b | |
parent | d56c0bde97e359834070bbdad66db9414e82e28a (diff) |
-rw-r--r-- | build-support/rust156-bin/PKGBUILD | 37 |
diff --git a/build-support/rust156-bin/PKGBUILD b/build-support/rust156-bin/PKGBUILD new file mode 100644 index 00000000..a60bcd82 --- /dev/null +++ b/build-support/rust156-bin/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Andreas Baumann <mail@andreasbaumann.cc> + +pkgname=rust156-bin +pkgver=1.56.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=('5189cd56447f9d56fcd7a1966efe5a8efd19843fdfd6bf9a23a9acbc57b5e3f9' + 'SKIP') +sha256sums_pentium4=('f5fa5686a79108959a2910c97cec7c642198efd2a617d7a1b6cfc97d33612fe0' + 'SKIP') +sha256sums_i686=('f5fa5686a79108959a2910c97cec7c642198efd2a617d7a1b6cfc97d33612fe0' + '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" +} |