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

Alexander Rødseth arodseth at archlinux.org
Fri Sep 30 20:17:51 UTC 2016


    Date: Friday, September 30, 2016 @ 20:17:50
  Author: arodseth
Revision: 191108

upgpkg: cargo 0.13.0-1

Modified:
  cargo/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-30 20:16:44 UTC (rev 191107)
+++ PKGBUILD	2016-09-30 20:17:50 UTC (rev 191108)
@@ -3,7 +3,7 @@
 # Contributor: Christopher Reimer <mail+aur at c-reimer.de>
 
 pkgname=cargo
-pkgver=0.12.0
+pkgver=0.13.0
 pkgrel=1
 pkgdesc='Rust package manager'
 url='http://crates.io/'
@@ -11,13 +11,16 @@
 license=('APACHE' 'MIT' 'custom')
 depends=('curl' 'rust')
 makedepends=('git' 'python' 'cmake')
+groups=('rust')
 options=('!emptydirs')
 source=("git+https://github.com/rust-lang/cargo.git#tag=$pkgver")
 md5sums=('SKIP')
 
 prepare() {
-  for cmd in init update; do (cd "$pkgname"; git submodule "$cmd"); done
-  sed 's^share/doc^share/licenses^g' -i "$pkgname/Makefile.in"
+  cd "$pkgname"
+
+  git submodule update --init --recursive
+  sed 's^share/doc^share/licenses^g' -i Makefile.in
 }
 
 build() {



More information about the arch-commits mailing list