[arch-commits] Commit in rust/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Fri Mar 3 13:49:22 UTC 2017


    Date: Friday, March 3, 2017 @ 13:49:21
  Author: demize
Revision: 214650

upgpkg: rust 1:1.15.1-1

Modified:
  rust/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-03 12:20:04 UTC (rev 214649)
+++ PKGBUILD	2017-03-03 13:49:21 UTC (rev 214650)
@@ -5,7 +5,7 @@
 
 pkgname=('rust' 'rust-docs')
 epoch=1
-pkgver=1.14.0
+pkgver=1.15.1
 pkgrel=1
 arch=('x86_64' 'i686')
 pkgdesc='Systems programming language focused on safety, speed and concurrency'
@@ -12,9 +12,9 @@
 url='https://www.rust-lang.org/'
 groups=('rust')
 license=('MIT' 'Apache')
-makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'cmake' 'ninja' 'jemalloc')
+makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'ninja' 'cmake' 'ninja' 'jemalloc')
 source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
-sha256sums=('c790edd2e915bd01bea46122af2942108479a2fda9a6f76d1094add520ac3b6b'
+sha256sums=('2e7daad418a830b45b977cd7ecf181b65f30f73df63ff36e124ea5fe5d1af327'
             'SKIP')
 options=('staticlibs' '!strip' '!emptydirs')
 validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
@@ -21,7 +21,7 @@
 #gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
 
 build() {
-  cd "rustc-$pkgver"
+  cd "rustc-$pkgver-src"
 
   ./configure \
     --prefix=/usr \
@@ -29,7 +29,8 @@
     --enable-ninja \
     --llvm-root=/usr \
     --disable-codegen-tests \
-    --jemalloc-root=/usr/lib
+    --jemalloc-root=/usr/lib \
+    --disable-rustbuild
 
   export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
   export CFLAGS="$CFLAGS -fPIC -w"
@@ -40,7 +41,7 @@
 package_rust() {
   depends=('gcc-libs' 'llvm-libs')
 
-  cd "rustc-$pkgver"
+  cd "rustc-$pkgver-src"
 
   make DESTDIR="$pkgdir" install
 
@@ -62,7 +63,7 @@
   mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/
 
   msg2 "Packaging license files for the documentation"
-  for license in APACHE MIT; do install -Dm644 "rustc-$pkgver/LICENSE-$license" \
+  for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done
 }
 



More information about the arch-commits mailing list