From 2b1afbbe5b2713f2121adbf5102da925697393a3 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 24 Jan 2018 01:28:02 +0000 Subject: [PATCH] community/rust to 1.23.0-3 --- community/rust/PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD index 51147721f..0f0015eb2 100644 --- a/community/rust/PKGBUILD +++ b/community/rust/PKGBUILD @@ -14,7 +14,7 @@ highmem=1 pkgname=('rust' 'rust-docs') epoch=1 pkgver=1.23.0 -pkgrel=2 +pkgrel=3 pkgdesc='Systems programming language focused on safety, speed and concurrency' url='https://www.rust-lang.org/' @@ -56,7 +56,7 @@ build() { } package_rust() { - depends=('gcc-libs') + depends=('gcc-libs' 'curl' 'libssh2') provides=('cargo' 'rustfmt') conflicts=('cargo' 'rustfmt') replaces=('cargo' 'rustfmt') @@ -76,6 +76,9 @@ package_rust() { # move docs out of the way mv "$pkgdir/usr/share/doc" "$srcdir/" + + # The version distributed with rust is old and buggy, and ends up breaking other builds. + rm "$pkgdir"/usr/bin/rustfmt } package_rust-docs() {