community/rust to 0.12.0-1

This commit is contained in:
Kevin Mihelich 2014-10-10 06:54:33 +00:00
parent b7706bd413
commit 441f919525

View file

@ -7,7 +7,7 @@
buildarch=4
pkgname=rust
pkgver=0.11.0
pkgver=0.12.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='A safe, concurrent, practical language'
@ -17,7 +17,7 @@ depends=(gcc shared-mime-info)
makedepends=(libffi perl python2 curl rust)
source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz"
"http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz.asc")
sha256sums=('d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba'
sha256sums=('883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7'
'SKIP')
install=rust.install
options=(staticlibs)
@ -25,7 +25,7 @@ options=(staticlibs)
build() {
cd rust-$pkgver
./configure --prefix=/usr --disable-docs --disable-rpath --disable-verify-install --enable-local-rust --local-rust-root=/usr
./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install --enable-local-rust --local-rust-root=/usr
# avoid python makedepend (force fallback to python2)
sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules