[arch-commits] Commit in cargo/repos (4 files)
Alexander Rødseth
arodseth at archlinux.org
Tue Nov 29 00:05:57 UTC 2016
Date: Tuesday, November 29, 2016 @ 00:05:56
Author: arodseth
Revision: 197209
archrelease: copy trunk to community-x86_64, community-i686
Added:
cargo/repos/community-i686/PKGBUILD
(from rev 197208, cargo/trunk/PKGBUILD)
cargo/repos/community-x86_64/PKGBUILD
(from rev 197208, cargo/trunk/PKGBUILD)
Deleted:
cargo/repos/community-i686/PKGBUILD
cargo/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 108 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 51 --------------------
community-x86_64/PKGBUILD | 51 --------------------
3 files changed, 108 insertions(+), 102 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-11-29 00:05:40 UTC (rev 197208)
+++ community-i686/PKGBUILD 2016-11-29 00:05:56 UTC (rev 197209)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Christopher Reimer <mail+aur at c-reimer.de>
-
-pkgname=cargo
-pkgver=0.14.0
-pkgrel=1
-pkgdesc='Rust package manager'
-url='http://crates.io/'
-arch=('x86_64' 'i686')
-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() {
- cd "$pkgname"
-
- git submodule update --init --recursive
- sed 's^share/doc^share/licenses^g' -i Makefile.in
-}
-
-build() {
- cd "$pkgname"
-
- ./configure --prefix=/usr --enable-optimize
- make
-}
-
-package() {
- cd "$pkgname"
-
- make DESTDIR="$pkgdir" install
-
- # Remove files that contains references to $srcdir or $pkgdir,
- # or that conflicts with the rust package.
- rm -f "$pkgdir/usr/lib/rustlib/"{install.log,manifest-cargo,uninstall.sh}
-
- install -d "$pkgdir/usr/share/bash-completion/completions"
- mv "$pkgdir/usr/etc/bash_completion.d/cargo" \
- "$pkgdir/usr/share/bash-completion/completions/cargo"
-
- for f in LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY; do
- install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f"
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: cargo/repos/community-i686/PKGBUILD (from rev 197208, cargo/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-11-29 00:05:56 UTC (rev 197209)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Christopher Reimer <mail+aur at c-reimer.de>
+
+pkgname=cargo
+pkgver=0.14.0
+pkgrel=2
+pkgdesc='Rust package manager'
+url='http://crates.io/'
+arch=('x86_64' 'i686')
+license=('APACHE' 'MIT' 'custom')
+depends=('curl' 'rust')
+makedepends=('git' 'setconf' 'python' 'cmake')
+groups=('rust')
+options=('!emptydirs')
+source=("git+https://github.com/rust-lang/cargo.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+
+ git submodule update --init --recursive
+ sed 's^share/doc^share/licenses^g' -i Makefile.in
+
+ # Upstream forgot to bump the version number, FS#51939
+ setconf Makefile.in CFG_RELEASE_NUM="$pkgver"
+}
+
+build() {
+ cd "$pkgname"
+
+ ./configure --prefix=/usr --enable-optimize
+ make
+}
+
+package() {
+ cd "$pkgname"
+
+ make DESTDIR="$pkgdir" install
+
+ # Remove files that contains references to $srcdir or $pkgdir,
+ # or that conflicts with the rust package.
+ rm -f "$pkgdir/usr/lib/rustlib/"{install.log,manifest-cargo,uninstall.sh}
+
+ install -d "$pkgdir/usr/share/bash-completion/completions"
+ mv "$pkgdir/usr/etc/bash_completion.d/cargo" \
+ "$pkgdir/usr/share/bash-completion/completions/cargo"
+
+ for f in LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY; do
+ install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-11-29 00:05:40 UTC (rev 197208)
+++ community-x86_64/PKGBUILD 2016-11-29 00:05:56 UTC (rev 197209)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Christopher Reimer <mail+aur at c-reimer.de>
-
-pkgname=cargo
-pkgver=0.14.0
-pkgrel=1
-pkgdesc='Rust package manager'
-url='http://crates.io/'
-arch=('x86_64' 'i686')
-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() {
- cd "$pkgname"
-
- git submodule update --init --recursive
- sed 's^share/doc^share/licenses^g' -i Makefile.in
-}
-
-build() {
- cd "$pkgname"
-
- ./configure --prefix=/usr --enable-optimize
- make
-}
-
-package() {
- cd "$pkgname"
-
- make DESTDIR="$pkgdir" install
-
- # Remove files that contains references to $srcdir or $pkgdir,
- # or that conflicts with the rust package.
- rm -f "$pkgdir/usr/lib/rustlib/"{install.log,manifest-cargo,uninstall.sh}
-
- install -d "$pkgdir/usr/share/bash-completion/completions"
- mv "$pkgdir/usr/etc/bash_completion.d/cargo" \
- "$pkgdir/usr/share/bash-completion/completions/cargo"
-
- for f in LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY; do
- install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f"
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: cargo/repos/community-x86_64/PKGBUILD (from rev 197208, cargo/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-11-29 00:05:56 UTC (rev 197209)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Christopher Reimer <mail+aur at c-reimer.de>
+
+pkgname=cargo
+pkgver=0.14.0
+pkgrel=2
+pkgdesc='Rust package manager'
+url='http://crates.io/'
+arch=('x86_64' 'i686')
+license=('APACHE' 'MIT' 'custom')
+depends=('curl' 'rust')
+makedepends=('git' 'setconf' 'python' 'cmake')
+groups=('rust')
+options=('!emptydirs')
+source=("git+https://github.com/rust-lang/cargo.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+
+ git submodule update --init --recursive
+ sed 's^share/doc^share/licenses^g' -i Makefile.in
+
+ # Upstream forgot to bump the version number, FS#51939
+ setconf Makefile.in CFG_RELEASE_NUM="$pkgver"
+}
+
+build() {
+ cd "$pkgname"
+
+ ./configure --prefix=/usr --enable-optimize
+ make
+}
+
+package() {
+ cd "$pkgname"
+
+ make DESTDIR="$pkgdir" install
+
+ # Remove files that contains references to $srcdir or $pkgdir,
+ # or that conflicts with the rust package.
+ rm -f "$pkgdir/usr/lib/rustlib/"{install.log,manifest-cargo,uninstall.sh}
+
+ install -d "$pkgdir/usr/share/bash-completion/completions"
+ mv "$pkgdir/usr/etc/bash_completion.d/cargo" \
+ "$pkgdir/usr/share/bash-completion/completions/cargo"
+
+ for f in LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY; do
+ install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list