summaryrefslogtreecommitdiff
path: root/community/rust/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/PKGBUILD')
-rw-r--r--community/rust/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD
index b6831ab5d..fb1832001 100644
--- a/community/rust/PKGBUILD
+++ b/community/rust/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 97658 2013-09-27 01:45:47Z thestinger $
+# $Id: PKGBUILD 103695 2014-01-10 03:08:10Z thestinger $
# Maintainer: Daniel Micay <danielmicay@gmail.com>
pkgname=rust
-pkgver=0.8
-pkgrel=1
+pkgver=0.9
+pkgrel=2
arch=('i686' 'x86_64')
pkgdesc='A safe, concurrent, practical language'
url='http://www.rust-lang.org/'
@@ -11,9 +11,10 @@ depends=(gcc shared-mime-info)
makedepends=(libffi perl python2 curl chrpath)
source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz"
"http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz.asc")
-sha256sums=('42f791ab1537357fe0f63d67ffe6bcb64ecf16b2bd3f1484ab589823f5914182'
+sha256sums=('c0911c3545b797a1ca16f3d76bf5ed234754b828efd1e22c182c7300ac7dd5d1'
'SKIP')
install=rust.install
+options=(staticlibs)
build() {
cd rust-$pkgver
@@ -57,8 +58,8 @@ package() {
cd "$pkgdir/usr"
# https://github.com/mozilla/rust/issues/5219
- chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
+ chrpath -d bin/* lib/*.so lib/rustlib/*/lib/*.so
cd lib
- ln -sf rustc/$CARCH-unknown-linux-gnu/lib/* .
+ ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/* .
}