summaryrefslogtreecommitdiff
path: root/community/rust/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/PKGBUILD')
-rw-r--r--community/rust/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD
index fb1832001..2d9a7e105 100644
--- a/community/rust/PKGBUILD
+++ b/community/rust/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 103695 2014-01-10 03:08:10Z thestinger $
+# $Id: PKGBUILD 108786 2014-04-03 20:27:41Z thestinger $
# Maintainer: Daniel Micay <danielmicay@gmail.com>
pkgname=rust
-pkgver=0.9
-pkgrel=2
+pkgver=0.10
+pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='A safe, concurrent, practical language'
url='http://www.rust-lang.org/'
license=('MIT' 'Apache')
depends=(gcc shared-mime-info)
-makedepends=(libffi perl python2 curl chrpath)
+makedepends=(libffi perl python2 curl)
source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz"
"http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz.asc")
-sha256sums=('c0911c3545b797a1ca16f3d76bf5ed234754b828efd1e22c182c7300ac7dd5d1'
+sha256sums=('c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9'
'SKIP')
install=rust.install
options=(staticlibs)
@@ -19,7 +19,7 @@ options=(staticlibs)
build() {
cd rust-$pkgver
- ./configure --prefix=/usr --disable-docs
+ ./configure --prefix=/usr --disable-docs --disable-rpath --disable-verify-install
# avoid python makedepend (force fallback to python2)
sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
@@ -57,9 +57,7 @@ package() {
cd "$pkgdir/usr"
- # https://github.com/mozilla/rust/issues/5219
- chrpath -d bin/* lib/*.so lib/rustlib/*/lib/*.so
-
cd lib
+ rm rustlib/manifest
ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/* .
}