From 72ff1b89b3e98392ec39e7cc1711eb8ad18db5a1 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 13 Dec 2015 20:34:53 +0100 Subject: [PATCH] opera: fix paths to be able to load internal libraries --- srcpkgs/opera/files/opera | 2 ++ srcpkgs/opera/template | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/opera/files/opera diff --git a/srcpkgs/opera/files/opera b/srcpkgs/opera/files/opera new file mode 100644 index 00000000000..b1759c6119b --- /dev/null +++ b/srcpkgs/opera/files/opera @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/lib/opera/opera diff --git a/srcpkgs/opera/template b/srcpkgs/opera/template index 56e4a972b5c..e9157fb8740 100644 --- a/srcpkgs/opera/template +++ b/srcpkgs/opera/template @@ -1,7 +1,7 @@ # Template file for 'opera' pkgname=opera version=34.0.2036.25 -revision=1 +revision=2 only_for_archs="x86_64" depends="ffmpeg desktop-file-utils" short_desc="Fast, secure, easy to use browser" @@ -19,8 +19,8 @@ do_extract() { } do_install() { - vbin usr/bin/opera - vcopy usr/lib /usr/lib + vbin ${FILESDIR}/opera + vcopy usr/lib/x86_64-linux-gnu usr/lib vcopy usr/share /usr/share vlicense usr/share/doc/opera-stable/copyright }