Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - cargo-bin

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: cargo-bin 20160517-1

Git Clone URL: https://aur-dev.archlinux.org/cargo-bin.git (read-only)
Package Base: cargo-bin
Description: Cargo downloads your Rust project's dependencies and compiles your project.
Upstream URL: http://crates.io/
Keywords: cargo manager package rust
Licenses: MIT, Apache
Conflicts: cargo
Provides: cargo
Submitter: amrhassan
Maintainer: vlad
Last Packager: Azd325
Votes: 70
Popularity: 0.015119
First Submitted: 2015-01-15 19:42
Last Updated: 2016-05-17 08:44

Required by (120)

Sources (1)

Latest Comments

1 2 Next › Last »

Azd325 commented on 2016-02-16 10:59

in community is the stable version here this is the nightly version.
Also from the website https://crates.io/install
"To install just Cargo, the current recommended installation method is through the official nightly builds. "

flying-sheep commented on 2016-02-16 09:15

why is this package even necessary anymore when there’s cargo in [community]?

xyproto commented on 2015-10-24 13:13

"cargo" is now in [community]. Please add it to the conflicts array.

hobarrera commented on 2015-09-05 19:34

Indeed, conflicts=cargo is missing (though "provides" is in place).

RZLourenco commented on 2015-09-05 19:06

Should be made incompatible with cargo package (from @CReimer).

Azd325 commented on 2015-06-04 18:57

@mherold Thanks for the contributions :)

mherold commented on 2015-06-01 22:43

@Azd325: To add a man file, you just copy it to the relevant directory in the PKGBUILD. In this case:

install -D -m644 cargo/share/man/man1/cargo.1 "$pkgdir/usr/share/man/man1/cargo.1"

Also, you should include the zsh completion with the following:

install -D -m644 cargo/share/zsh/site-functions/_cargo "$pkgdir/usr/share/zsh/site-functions/_cargo"

Lastly, I think you want your bash-completion files to be mode 644 as well, instead of the 755 that you have currently.

I have an updated version of the PKGBUILD available here, if you'd like to see a completed version: https://github.com/michaelherold/PKGBUILDs/blob/master/cargo-bin/PKGBUILD

Azd325 commented on 2015-05-20 19:30

@tandrade Sounds a good idea. Do you some recommend way in arch?

tandrade commented on 2015-05-20 15:45

You could add the man page included in the current version of the upstream.

tuftedocelot commented on 2015-02-28 14:57