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

Alexander Rødseth arodseth at archlinux.org
Thu May 7 16:57:11 UTC 2015


    Date: Thursday, May 7, 2015 @ 18:57:10
  Author: arodseth
Revision: 132883

upgpkg: rust 1.0.0_beta.4-1

Modified:
  rust/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-07 15:46:27 UTC (rev 132882)
+++ PKGBUILD	2015-05-07 16:57:10 UTC (rev 132883)
@@ -1,8 +1,9 @@
 # $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
 
 pkgname=rust
-pkgver=1.0.0.beta.3
+pkgver=1.0.0_beta.4
 pkgrel=1
 arch=('x86_64' 'i686')
 pkgdesc='Systems programming language focused on safety, speed and concurrency'
@@ -9,8 +10,8 @@
 url='http://www.rust-lang.org/'
 license=('MIT' 'Apache')
 makedepends=('libffi' 'perl' 'python2' 'curl')
-source=("http://static.rust-lang.org/dist/rustc-${pkgver/.b/-b}-src.tar.gz"{,.asc})
-sha256sums=('e751bc8a8ad236c8865697f866b2863e224af56b0194ddf9f3edd71f9ff6545f'
+source=("http://static.rust-lang.org/dist/rustc-${pkgver/_/-}-src.tar.gz"{,.asc})
+sha256sums=('54e5868dd55a5c171327c72d662b5931a962b0cf160022d11c189ea232e0bd91'
             'SKIP')
 install="$pkgname.install"
 options=('staticlibs')
@@ -18,7 +19,7 @@
 #gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
 
 prepare() {
-  cd "rustc-${pkgver/.b/-b}"
+  cd "rustc-${pkgver/_/-}"
 
   # Use Python 2
   sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
@@ -25,7 +26,7 @@
 }
 
 build() {
-  cd "rustc-${pkgver/.b/-b}"
+  cd "rustc-${pkgver/_/-}"
 
   ./configure --prefix=/usr --disable-docs --release-channel=beta
   make
@@ -32,7 +33,7 @@
 }
 
 package() {
-  cd "rustc-${pkgver/.b/-b}"
+  cd "rustc-${pkgver/_/-}"
 
   make DESTDIR="$pkgdir" install
 



More information about the arch-commits mailing list