summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2017-04-28 19:00:02 +0200
committerhaawda2017-04-28 19:00:02 +0200
commit6812416ae174b36b51d654a314dcb70f7d1fcc73 (patch)
tree20f8b3cfff149479bc0a441752ad25ffe347f6d1 /PKGBUILD
parentacdce6edf48e22c0d3e94a0fd5f72e93dcaf117b (diff)
downloadaur-6812416ae174b36b51d654a314dcb70f7d1fcc73.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 84c8bc205c0..4268cb1d41b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,34 @@
pkgbase=rust-nightly
pkgname=('rust-nightly' 'rust-nightly-doc')
-pkgver=1.18.0.2017.04.24
+pkgver=1.18.0.2017.04.26
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='A safe, concurrent, practical language'
url='http://www.rust-lang.org/'
license=('MIT' 'Apache')
-makedepends=('libffi' 'perl' 'python2' 'curl')
+makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm')
source=("http://static.rust-lang.org/dist/rustc-nightly-src.tar.gz")
-md5sums=('855d46c9a7adbddafcf1462eaf9f4003')
+md5sums=('734498847d1808777ae8f1b69e45484e')
options=('!makeflags' 'staticlibs' '!strip' '!emptydirs')
conflicts=('rust')
provides=('rust')
build() {
cd rustc-nightly-src
- ./configure --prefix=/usr --disable-rpath --enable-compiler-docs
- make dist
- }
+ ./configure \
+ --prefix=/usr \
+ --release-channel=stable \
+ --llvm-root=/usr \
+ --disable-codegen-tests \
+ --jemalloc-root=/usr/lib \
+ --disable-rpath \
+ --enable-compiler-docs
+
+ export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
+
+ python2 ./x.py build --verbose
+}
package_rust-nightly() {
depends=('shared-mime-info')