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

Alexander Rødseth arodseth at archlinux.org
Sat May 16 23:14:10 UTC 2015


    Date: Sunday, May 17, 2015 @ 01:14:09
  Author: arodseth
Revision: 133632

upgpkg: rust 1:1.0.0-1

Modified:
  rust/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-16 22:56:26 UTC (rev 133631)
+++ PKGBUILD	2015-05-16 23:14:09 UTC (rev 133632)
@@ -4,6 +4,7 @@
 
 pkgname=rust
 pkgver=1.0.0
+epoch=1
 pkgrel=1
 arch=('x86_64' 'i686')
 pkgdesc='Systems programming language focused on safety, speed and concurrency'
@@ -10,29 +11,29 @@
 url='http://www.rust-lang.org/'
 license=('MIT' 'Apache')
 makedepends=('libffi' 'perl' 'python2' 'curl')
-source=("http://static.rust-lang.org/dist/rustc-${pkgver/_/-}-src.tar.gz"{,.asc})
+source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
 sha256sums=('c304cbd4f7b25d116b73c249f66bdb5c9da8645855ce195a41bda5077b995eba'
             'SKIP')
 install="$pkgname.install"
-options=('staticlibs' '!strip')
+options=('staticlibs')
 validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
 #gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
 
 prepare() {
-  cd "rustc-${pkgver/_/-}"
+  cd "rustc-$pkgver"
 
   sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
 }
 
 build() {
-  cd "rustc-${pkgver/_/-}"
+  cd "rustc-$pkgver"
 
-  ./configure --prefix=/usr --disable-docs
+  ./configure --prefix=/usr --disable-docs --release-channel=beta
   make
 }
 
 package() {
-  cd "rustc-${pkgver/_/-}"
+  cd "rustc-$pkgver"
 
   make DESTDIR="$pkgdir" install
 



More information about the arch-commits mailing list