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

Alexander Rødseth arodseth at archlinux.org
Fri Apr 24 12:51:26 UTC 2015


    Date: Friday, April 24, 2015 @ 14:51:26
  Author: arodseth
Revision: 132111

Updated to 1.0.0.beta.2

Modified:
  rust/trunk/PKGBUILD

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-24 12:45:03 UTC (rev 132110)
+++ PKGBUILD	2015-04-24 12:51:26 UTC (rev 132111)
@@ -2,27 +2,26 @@
 # Maintainer: Daniel Micay <danielmicay at gmail.com>
 
 pkgname=rust
-_pkgver=1.0.0-alpha.2
-pkgver=1.0.0.alpha.2
+pkgver=1.0.0.beta.2
 pkgrel=1
-arch=(i686 x86_64)
-pkgdesc='A safe, concurrent, practical language'
+arch=('x86_64' 'i686')
+pkgdesc='Safe, concurrent and practical programming language from Mozilla'
 url='http://www.rust-lang.org/'
-license=(MIT Apache)
-depends=(gcc)
-makedepends=(libffi perl python2 curl)
-checkdepends=(git valgrind)
-source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc})
-sha256sums=('a931b945e98f409df68fdff23e98b688024461c28901106896e73708381956c8'
+license=('MIT' 'Apache')
+makedepends=('libffi' 'perl' 'python2' 'curl')
+checkdepends=('git' 'valgrind')
+source=("http://static.rust-lang.org/dist/rustc-${pkgver/.b/-b}-src.tar.gz"{,.asc})
+sha256sums=('969f20bfec588456af8ab81c9b00ef46df075bf9ac9955e42a87b1f39cb99771'
             'SKIP')
-install=rust.install
-options=(staticlibs)
-validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
+install="$pkgname.install"
+options=('staticlibs')
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
 
 build() {
-  cd rustc-$_pkgver
+  cd "rustc-${pkgver/.b/-b}"
 
-  ./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install
+  ./configure --prefix=/usr --disable-debug --disable-docs
 
   # avoid python makedepend (force fallback to python2)
   sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
@@ -30,19 +29,22 @@
   make
 }
 
-check() {
-  cd rustc-$_pkgver
-  #make check
-}
+#check() {
+#  cd "rustc-${pkgver/.b/-b}"
+#  make check
+#}
 
 package() {
-  cd rustc-$_pkgver
+  cd "rustc-${pkgver/.b/-b}"
+
   make DESTDIR="$pkgdir" install
 
-  install -D -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
-  install -D -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+  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 .
 }
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list