mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/rust to 1.23.0-3
This commit is contained in:
parent
30d516785b
commit
2b1afbbe5b
1 changed files with 5 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue