diff options
author | haawda | 2017-05-28 18:40:36 +0200 |
---|---|---|
committer | haawda | 2017-05-28 18:40:36 +0200 |
commit | b5aee97c7196b0088943a09812d4f153a97308ca (patch) | |
tree | d8b177e8afa5b4598e859875c2f0ff2ef425b9a8 | |
parent | 0a428dc9b83f4188078fc73564cd3c37f9e164a8 (diff) | |
download | aur-b5aee97c7196b0088943a09812d4f153a97308ca.tar.gz |
disable compile docs again
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 66 |
2 files changed, 35 insertions, 39 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Sat May 13 02:06:32 UTC 2017 pkgbase = rust-nightly pkgdesc = A safe, concurrent, practical language - pkgver = 1.19.0.2017.05.12 + pkgver = 1.19.0.2017.05.27 pkgrel = 1 url = http://www.rust-lang.org/ arch = i686 @@ -16,12 +14,12 @@ pkgbase = rust-nightly makedepends = llvm provides = rust conflicts = rust - options = !makeflags options = staticlibs options = !strip options = !emptydirs + options = !makeflags source = http://static.rust-lang.org/dist/rustc-nightly-src.tar.gz - md5sums = 474daa139ad9f70f3d818eb2b93a2603 + md5sums = 390a6150bbc8c04c86529925a12a2126 pkgname = rust-nightly depends = shared-mime-info @@ -3,7 +3,7 @@ pkgbase=rust-nightly pkgname=('rust-nightly' 'rust-nightly-doc') -pkgver=1.19.0.2017.05.12 +pkgver=1.19.0.2017.05.27 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='A safe, concurrent, practical language' @@ -11,10 +11,10 @@ url='http://www.rust-lang.org/' license=('MIT' 'Apache') makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm') source=("http://static.rust-lang.org/dist/rustc-nightly-src.tar.gz") -options=('!makeflags' 'staticlibs' '!strip' '!emptydirs') +md5sums=('390a6150bbc8c04c86529925a12a2126') +options=('staticlibs' '!strip' '!emptydirs' '!makeflags') conflicts=('rust') provides=('rust') -md5sums=('474daa139ad9f70f3d818eb2b93a2603') build() { cd rustc-nightly-src @@ -25,47 +25,45 @@ build() { --disable-codegen-tests \ --jemalloc-root=/usr/lib \ --disable-rpath \ - --enable-compiler-docs + --disable-compiler-docs export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" - - python2 ./x.py build --verbose } package_rust-nightly() { - depends=('shared-mime-info') - optdepends=('rust-doc-git: language and API documentation') - provides=('rust') - conflicts=('rust') - cd rustc-nightly-src + depends=('shared-mime-info') + optdepends=('rust-doc-git: language and API documentation') + provides=('rust') + conflicts=('rust') + cd rustc-nightly-src - make DESTDIR="$pkgdir" install - rm -fr "$pkgdir"/usr/share/doc/rust/html - rm "$pkgdir"/usr/share/doc/rust/README.md - rm -f "$pkgdir"/usr/lib/rustlib/{components,manifest-rustc,manifest-rust-docs,rust-installer-version,install.log,uninstall.sh} + DESTDIR="$pkgdir" python2 ./x.py install + rm -fr "$pkgdir"/usr/share/doc/rust/html + rm "$pkgdir"/usr/share/doc/rust/README.md + rm -f "$pkgdir"/usr/lib/rustlib/{components,manifest-rustc,manifest-rust-docs,rust-installer-version,install.log,uninstall.sh} - install -d "$pkgdir"/usr/share/licenses/rust-nightly/ - install -m644 COPYRIGHT LICENSE-* "$pkgdir"/usr/share/licenses/rust-nightly/ + install -d "$pkgdir"/usr/share/licenses/rust-nightly/ + install -m644 COPYRIGHT LICENSE-* "$pkgdir"/usr/share/licenses/rust-nightly/ } package_rust-nightly-doc() { - pkgdesc="A safe, concurrent, practical language from Mozilla. (Language and API documentation)" - arch=('any') - optdepends=('rust-nightly: to compile and run the programs you can write using this documentation') - provides=('rust-doc') - conflicts=('rust-doc') + pkgdesc="A safe, concurrent, practical language from Mozilla. (Language and API documentation)" + arch=('any') + optdepends=('rust-nightly: to compile and run the programs you can write using this documentation') + provides=('rust-doc') + conflicts=('rust-doc') - cd rustc-nightly-src/src - _docdir="$pkgdir"/usr/share/doc/rust - install -d "$_docdir" - cp -r doc/* "$_docdir"/ || true + cd rustc-nightly-src/src + _docdir="$pkgdir"/usr/share/doc/rust + install -d "$_docdir" + cp -r doc/* "$_docdir"/ || true - chmod -R 644 "$_docdir" - find "$_docdir" -type d -exec chmod 755 {} + - for ext in aux out log toc; do - rm -f "$_docdir"/*."$ext" - done - cd .. - install -d "$pkgdir"/usr/share/licenses/rust-nightly-doc/ - install -m644 COPYRIGHT LICENSE-* "$pkgdir"/usr/share/licenses/rust-nightly-doc/ + chmod -R 644 "$_docdir" + find "$_docdir" -type d -exec chmod 755 {} + + for ext in aux out log toc; do + rm -f "$_docdir"/*."$ext" + done + cd .. + install -d "$pkgdir"/usr/share/licenses/rust-nightly-doc/ + install -m644 COPYRIGHT LICENSE-* "$pkgdir"/usr/share/licenses/rust-nightly-doc/ } |