summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorspider-mario2017-02-09 23:57:13 +0100
committerspider-mario2017-02-09 23:57:13 +0100
commitc307b254189fe8c6d1f2fa17118ec83571bf0862 (patch)
tree747fd8cf53e60beb92cb3ca0983d080e5e2c32ba /PKGBUILD
parent3809577ab03258e766856221ef66e3b8f0cb628c (diff)
downloadaur-c307b254189fe8c6d1f2fa17118ec83571bf0862.tar.gz
Install the doc from the updated source location
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2ba99f69523..64a4d21e260 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -100,11 +100,12 @@ package_rust-docs-git() {
cd rust
- install --directory "$pkgdir"/usr/share/doc
- cp -r doc "$pkgdir"/usr/share/doc/rust
-
install --directory "$pkgdir"/usr/share/licenses/$pkgname/
install -m644 COPYRIGHT LICENSE-* "$pkgdir"/usr/share/licenses/$pkgname/
+
+ cd build/dist/doc
+ install --directory "$pkgdir"/usr/share/doc
+ cp -r * "$pkgdir"/usr/share/doc/rust
}
package_rust-src-git() {