[arch-commits] Commit in rust/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat Oct 29 13:47:49 UTC 2016
Date: Saturday, October 29, 2016 @ 13:47:48
Author: arodseth
Revision: 193965
upgpkg: rust 1:1.12.1-2
Modified:
rust/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-29 11:16:50 UTC (rev 193964)
+++ PKGBUILD 2016-10-29 13:47:48 UTC (rev 193965)
@@ -6,13 +6,13 @@
pkgname=('rust' 'rust-docs')
epoch=1
pkgver=1.12.1
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'i686')
pkgdesc='Systems programming language focused on safety, speed and concurrency'
url='http://www.rust-lang.org/'
groups=('rust')
license=('MIT' 'Apache')
-makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'cmake' 'ninja')
+makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'cmake' 'ninja' 'jemalloc')
source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
sha256sums=('97913ae4cb255618aaacd1a534b11f343634b040b32656250d09d8d9ec02d3dc'
'SKIP')
@@ -28,7 +28,8 @@
--release-channel=stable \
--enable-ninja \
--llvm-root=/usr \
- --disable-codegen-tests
+ --disable-codegen-tests \
+ --jemalloc-root=/usr/lib
export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
export CFLAGS="$CFLAGS -fPIC -w"
@@ -58,7 +59,7 @@
package_rust-docs() {
msg2 "Packaging documentation"
install -d "$pkgdir/usr/share/doc/"
- mv "$srcdir/doc" "$pkgdir/usr/share/doc/rust"
+ 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" \
More information about the arch-commits
mailing list