[arch-commits] Commit in rust/repos (4 files)
Alexander Rødseth
arodseth at archlinux.org
Tue Oct 25 18:26:22 UTC 2016
Date: Tuesday, October 25, 2016 @ 18:26:21
Author: arodseth
Revision: 193363
archrelease: copy trunk to community-x86_64, community-i686
Added:
rust/repos/community-i686/PKGBUILD
(from rev 193362, rust/trunk/PKGBUILD)
rust/repos/community-x86_64/PKGBUILD
(from rev 193362, rust/trunk/PKGBUILD)
Deleted:
rust/repos/community-i686/PKGBUILD
rust/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 136 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 56 ------------------
community-x86_64/PKGBUILD | 56 ------------------
3 files changed, 136 insertions(+), 112 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-25 18:24:50 UTC (rev 193362)
+++ community-i686/PKGBUILD 2016-10-25 18:26:21 UTC (rev 193363)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-
-pkgname=('rust' 'rust-docs')
-epoch=1
-pkgver=1.12.0
-pkgrel=1
-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' 'jemalloc' 'cmake')
-depends=('gcc')
-source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
-sha256sums=('ac5907d6fa96c19bd5901d8d99383fb8755127571ead3d4070cce9c1fb5f337a'
- 'SKIP')
-options=('staticlibs' '!strip' '!emptydirs')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
-#gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
-
-build() {
- cd "rustc-$pkgver"
-
- ./configure --prefix=/usr --release-channel=stable
- make CFLAGS="$CFLAGS -fPIC -w"
-}
-
-package_rust() {
- depends=('gcc')
-
- cd "rustc-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 LICENSE-APACHE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
- install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-
- cd "$pkgdir/usr/lib"
- rm rustlib/{components,manifest-rustc,rust-installer-version}
- ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
-}
-
-package_rust-docs() {
- cd "rustc-$pkgver"
-
- install -d "$pkgdir/usr/share/doc/rust"
- cp -r "doc/"* "$pkgdir/usr/share/doc/rust"
- install -Dm644 LICENSE-APACHE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
- install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rust/repos/community-i686/PKGBUILD (from rev 193362, rust/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-25 18:26:21 UTC (rev 193363)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: userwithuid <userwithuid at gmail.com>
+
+pkgname=('rust' 'rust-docs')
+epoch=1
+pkgver=1.12.1
+pkgrel=1
+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')
+source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+sha256sums=('97913ae4cb255618aaacd1a534b11f343634b040b32656250d09d8d9ec02d3dc'
+ 'SKIP')
+options=('staticlibs' '!strip' '!emptydirs')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+
+build() {
+ cd "rustc-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --release-channel=stable \
+ --enable-ninja \
+ --llvm-root=/usr \
+ --disable-codegen-tests
+
+ export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
+ export CFLAGS="$CFLAGS -fPIC -w"
+
+ make
+}
+
+package_rust() {
+ depends=('gcc-libs' 'llvm-libs')
+
+ cd "rustc-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done
+
+ cd "$pkgdir/usr/lib"
+
+ rm rustlib/{components,manifest-rustc,rust-installer-version}
+ ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
+
+ # move docs out of the way
+ mv "$pkgdir/usr/share/doc" "$srcdir/"
+}
+
+package_rust-docs() {
+ msg2 "Packaging documentation"
+ install -d "$pkgdir/usr/share/doc/"
+ 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" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-25 18:24:50 UTC (rev 193362)
+++ community-x86_64/PKGBUILD 2016-10-25 18:26:21 UTC (rev 193363)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-
-pkgname=('rust' 'rust-docs')
-epoch=1
-pkgver=1.12.0
-pkgrel=1
-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' 'jemalloc' 'cmake')
-depends=('gcc')
-source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
-sha256sums=('ac5907d6fa96c19bd5901d8d99383fb8755127571ead3d4070cce9c1fb5f337a'
- 'SKIP')
-options=('staticlibs' '!strip' '!emptydirs')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
-#gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
-
-build() {
- cd "rustc-$pkgver"
-
- ./configure --prefix=/usr --release-channel=stable
- make CFLAGS="$CFLAGS -fPIC -w"
-}
-
-package_rust() {
- depends=('gcc')
-
- cd "rustc-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 LICENSE-APACHE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
- install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-
- cd "$pkgdir/usr/lib"
- rm rustlib/{components,manifest-rustc,rust-installer-version}
- ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
-}
-
-package_rust-docs() {
- cd "rustc-$pkgver"
-
- install -d "$pkgdir/usr/share/doc/rust"
- cp -r "doc/"* "$pkgdir/usr/share/doc/rust"
- install -Dm644 LICENSE-APACHE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
- install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rust/repos/community-x86_64/PKGBUILD (from rev 193362, rust/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-25 18:26:21 UTC (rev 193363)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: userwithuid <userwithuid at gmail.com>
+
+pkgname=('rust' 'rust-docs')
+epoch=1
+pkgver=1.12.1
+pkgrel=1
+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')
+source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+sha256sums=('97913ae4cb255618aaacd1a534b11f343634b040b32656250d09d8d9ec02d3dc'
+ 'SKIP')
+options=('staticlibs' '!strip' '!emptydirs')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+
+build() {
+ cd "rustc-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --release-channel=stable \
+ --enable-ninja \
+ --llvm-root=/usr \
+ --disable-codegen-tests
+
+ export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
+ export CFLAGS="$CFLAGS -fPIC -w"
+
+ make
+}
+
+package_rust() {
+ depends=('gcc-libs' 'llvm-libs')
+
+ cd "rustc-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done
+
+ cd "$pkgdir/usr/lib"
+
+ rm rustlib/{components,manifest-rustc,rust-installer-version}
+ ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
+
+ # move docs out of the way
+ mv "$pkgdir/usr/share/doc" "$srcdir/"
+}
+
+package_rust-docs() {
+ msg2 "Packaging documentation"
+ install -d "$pkgdir/usr/share/doc/"
+ 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" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list