This commit is contained in:
milisbir 2018-05-08 18:28:51 +03:00
parent 26e3c6c5f0
commit 3ac067a8df
1 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@
# Grup: geliştirme
isim=cargo
surum=0.21.1
surum=0.26.0
devir=1
kaynak=(https://github.com/rust-lang/cargo/archive/$surum.tar.gz
kaynak=(https://github.com/rust-lang/cargo/archive/${surum}.tar.gz::${isim}-${surum}.tar.gz
https://static.rust-lang.org/dist/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz)
derle() {
@ -18,5 +18,5 @@ derle() {
install -d $PKG/usr/bin
install -d $PKG/usr/share/bash-completion/completions/
cp target/release/cargo $PKG/usr/bin/
cp $SRC/cargo-0.21.1/src/etc/cargo.bashcomp.sh $PKG/usr/share/bash-completion/completions/cargo
cp $SRC/${isim}-${surum}/src/etc/cargo.bashcomp.sh $PKG/usr/share/bash-completion/completions/cargo
}