rust: update to 0.12.0.
This commit is contained in:
parent
acaa971c21
commit
06b3463f6b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rust'
|
# Template file for 'rust'
|
||||||
pkgname=rust
|
pkgname=rust
|
||||||
version=0.11.0
|
version=0.12.0
|
||||||
revision=1
|
revision=1
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
@ -12,14 +12,14 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.rust-lang.org/"
|
homepage="http://www.rust-lang.org/"
|
||||||
license="MIT, Apache-2.0"
|
license="MIT, Apache-2.0"
|
||||||
distfiles="http://static.rust-lang.org/dist/rust-${version}.tar.gz"
|
distfiles="http://static.rust-lang.org/dist/rust-${version}.tar.gz"
|
||||||
checksum=d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba
|
checksum=883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7
|
||||||
|
|
||||||
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
||||||
configure_args+=" --build=$(gcc -dumpmachine)"
|
configure_args+=" --build=$(gcc -dumpmachine)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall COPYRIGHT 644 usr/share/licenses/rust LICENSE
|
vlicense COPYRIGHT LICENSE
|
||||||
|
|
||||||
vmkdir usr/share/vim/vimfiles
|
vmkdir usr/share/vim/vimfiles
|
||||||
cp -a src/etc/vim ${DESTDIR}/usr/share/vim/vimfiles
|
cp -a src/etc/vim ${DESTDIR}/usr/share/vim/vimfiles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue