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