community/rust to 1.23.0-3

This commit is contained in:
Kevin Mihelich 2018-01-24 01:28:02 +00:00
parent 30d516785b
commit 2b1afbbe5b

View file

@ -14,7 +14,7 @@ highmem=1
pkgname=('rust' 'rust-docs') pkgname=('rust' 'rust-docs')
epoch=1 epoch=1
pkgver=1.23.0 pkgver=1.23.0
pkgrel=2 pkgrel=3
pkgdesc='Systems programming language focused on safety, speed and concurrency' pkgdesc='Systems programming language focused on safety, speed and concurrency'
url='https://www.rust-lang.org/' url='https://www.rust-lang.org/'
@ -56,7 +56,7 @@ build() {
} }
package_rust() { package_rust() {
depends=('gcc-libs') depends=('gcc-libs' 'curl' 'libssh2')
provides=('cargo' 'rustfmt') provides=('cargo' 'rustfmt')
conflicts=('cargo' 'rustfmt') conflicts=('cargo' 'rustfmt')
replaces=('cargo' 'rustfmt') replaces=('cargo' 'rustfmt')
@ -76,6 +76,9 @@ package_rust() {
# move docs out of the way # move docs out of the way
mv "$pkgdir/usr/share/doc" "$srcdir/" 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() { package_rust-docs() {