[arch-commits] Commit in rust/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Oct 1 23:26:07 UTC 2019
Date: Tuesday, October 1, 2019 @ 23:26:06
Author: heftig
Revision: 363642
Create lib32 symlinks, mirroring lib
Modified:
rust/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-01 23:26:06 UTC (rev 363641)
+++ PKGBUILD 2019-10-01 23:26:06 UTC (rev 363642)
@@ -82,11 +82,12 @@
conflicts=('lib32-rust')
replaces=('lib32-rust')
- install -d "$pkgdir"/usr/lib/rustlib/
- mv "$srcdir"/i686-unknown-linux-gnu "$pkgdir"/usr/lib/rustlib
-
cd "rustc-$pkgver-src"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/lib/rustlib/ "$pkgdir"/usr/lib32/
+ mv "$srcdir"/i686-unknown-linux-gnu "$pkgdir"/usr/lib/rustlib
+ ln -srft "$pkgdir"/usr/lib32 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu/lib/*.so
}
package_rust-docs() {
More information about the arch-commits
mailing list