Date: Wednesday, January 14, 2015 @ 18:10:50 Author: thestinger Revision: 125923
upgpkg: rust 1.0.0.alpha-1 Modified: rust/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-01-14 17:07:12 UTC (rev 125922) +++ PKGBUILD 2015-01-14 17:10:50 UTC (rev 125923) @@ -1,7 +1,8 @@ # $Id$ # Maintainer: Daniel Micay <[email protected]> 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' @@ -9,9 +10,9 @@ license=('MIT' 'Apache') depends=(gcc shared-mime-info) makedepends=(libffi perl python2 curl) -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) @@ -21,7 +22,7 @@ ) build() { - cd rust-$pkgver + cd rustc-$_pkgver ./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install @@ -32,12 +33,12 @@ } #check() { - #cd rust-$pkgver + #cd rust-$_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" @@ -62,6 +63,6 @@ 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 . }
