summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorspider-mario2016-10-02 22:49:49 +0200
committerspider-mario2016-10-02 22:49:49 +0200
commit5c972b45f60ff186d3d23eb1160dd176c63a08d2 (patch)
treeff2109bc58150ca42c03ccd8f3037c0cae06b777 /PKGBUILD
parent9b98c1adae0b93d0033c88d8793a335cdfcf7dc2 (diff)
downloadaur-5c972b45f60ff186d3d23eb1160dd176c63a08d2.tar.gz
Fix for --docdir
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 34bbea21d8f..2c0115a0cea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,9 @@ source=("git+https://github.com/rust-lang/rust.git"
"git+https://github.com/rust-lang/rust.vim.git"
"git+https://github.com/rust-lang/rust-mode.git"
- "git+https://github.com/rust-lang/zsh-config.git")
+ "git+https://github.com/rust-lang/zsh-config.git"
+
+ docdir.patch)
_noclone=(compiler-rt jemalloc libc llvm hoedown rust-installer)
sha512sums=('SKIP'
'SKIP'
@@ -33,7 +35,8 @@ sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
- 'SKIP')
+ 'SKIP'
+ 'c440666dc08e503ffaad60e00a09dc35a532390a598c51c294cf0e05ebefdefdd21474eae74a50c9100a8d42a3cc6f3b84c4ef17cb7cbe850c0085fd72a4b33a')
pkgver() {
cd rust
@@ -44,6 +47,7 @@ prepare() {
rm -rf -- "${_noclone[@]}"
cd rust
+ git apply -3 "$srcdir"/docdir.patch
_srcdest="$SRCDEST" perl -pi -- /dev/stdin .gitmodules <<'END'
if (m{(?<assignment> \s* url \s* = \s*) .* / (?<submodule> [^/]*?)(?:\.git)?$}x) {
my $local = "$ENV{_srcdest}/$+{submodule}";