[arch-commits] Commit in opera/trunk (PKGBUILD)
Ike Devolder
idevolder at archlinux.org
Sun Apr 10 09:09:15 UTC 2016
Date: Sunday, April 10, 2016 @ 11:09:15
Author: idevolder
Revision: 170035
upgpkg: opera 36.0.2130.46-2
Modified:
opera/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-10 09:07:43 UTC (rev 170034)
+++ PKGBUILD 2016-04-10 09:09:15 UTC (rev 170035)
@@ -11,7 +11,7 @@
pkgname=opera
pkgver=36.0.2130.46
-pkgrel=1
+pkgrel=2
pkgdesc="A fast and secure web browser"
url="http://www.opera.com/"
install=${pkgname}.install
@@ -53,8 +53,13 @@
rm -rf "$pkgdir/usr/lib/"*-linux-gnu
# patch rpath in opera-developer binary
- patchelf --set-rpath \$ORIGIN/lib_extra:\$ORIGIN/. \
- "$pkgdir/usr/lib/$pkgname/$pkgname"
+ if [[ "$CARCH" == "i686" ]]; then
+ patchelf --set-rpath \$ORIGIN/lib_extra:\$ORIGIN/lib:\$ORIGIN/. \
+ "$pkgdir/usr/lib/$pkgname/$pkgname"
+ else
+ patchelf --set-rpath \$ORIGIN/lib_extra:\$ORIGIN/. \
+ "$pkgdir/usr/lib/$pkgname/$pkgname"
+ fi
# suid opera_sandbox
chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox"
More information about the arch-commits
mailing list