mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/rust to 1.0.0.alpha-1
This commit is contained in:
parent
a89acc9308
commit
74bb26381e
1 changed files with 14 additions and 9 deletions
|
@ -7,7 +7,8 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=rust
|
||||
pkgver=0.12.0
|
||||
_pkgver=1.0.0-alpha
|
||||
pkgver=1.0.0.alpha
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc='A safe, concurrent, practical language'
|
||||
|
@ -15,15 +16,19 @@ url='http://www.rust-lang.org/'
|
|||
license=('MIT' 'Apache')
|
||||
depends=(gcc shared-mime-info)
|
||||
makedepends=(libffi perl python2 curl rust)
|
||||
source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz"
|
||||
"http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz.asc")
|
||||
sha256sums=('883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7'
|
||||
source=("http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz"
|
||||
"http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz.asc")
|
||||
sha256sums=('3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c'
|
||||
'SKIP')
|
||||
install=rust.install
|
||||
options=(staticlibs)
|
||||
validpgpkeys=(
|
||||
# Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
|
||||
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
|
||||
)
|
||||
|
||||
build() {
|
||||
cd rust-$pkgver
|
||||
cd rustc-$_pkgver
|
||||
|
||||
./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install --enable-local-rust --local-rust-root=/usr
|
||||
|
||||
|
@ -34,12 +39,12 @@ build() {
|
|||
}
|
||||
|
||||
#check() {
|
||||
#cd rust-$pkgver
|
||||
#cd rustc-$_pkgver
|
||||
#make check
|
||||
#}
|
||||
|
||||
package() {
|
||||
cd rust-$pkgver
|
||||
cd rustc-$_pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/$pkgname"
|
||||
|
@ -64,6 +69,6 @@ package() {
|
|||
cd "$pkgdir/usr"
|
||||
|
||||
cd lib
|
||||
rm rustlib/manifest
|
||||
ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/* .
|
||||
rm rustlib/{components,manifest-rustc,rust-installer-version}
|
||||
ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue