You are not logged in.
Pages: 1
I just started to build a new Opera packages for testing and get this error!
[jada@arch-01 opera]$ makepkg -cd
==> Making package: opera 9.50-14 (Sat Jan 26 00:52:59 PST 2008)
==> WARNING: Skipping dependency checks.
==> Retrieving Sources...
-> Downloading opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2...
--00:52:59-- http://snapshot.opera.com/unix/snapshot-1772/intel-linux/opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2
=> `opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2'
Resolving snapshot.opera.com... 195.189.143.183
Connecting to snapshot.opera.com|195.189.143.183|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,623,715 (5.4M) [application/x-tar]
100%[===============================================================================================================>] 5,623,715 297.46K/s ETA 00:00
00:53:20 (273.13 KB/s) - `opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2' saved [5623715/5623715]
-> Found opera.desktop in build dir
==> Validating source files with md5sums...
opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2 ... Passed
opera.desktop ... Passed
==> Extracting Sources...
-> bsdtar -x -f opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2
==> Entering fakeroot environment...
==> Starting build()...
sed: can't read ini/pluginpath.ini: No such file or directory
==> ERROR: Build Failed.
Aborting...
[jada@arch-01 opera]$
pkgname=opera
pkgver=9.50
pkgrel=14
pkgdesc="The Opera web browser"
url="http://www.opera.com/"
depends=(qt3)
license=('custom:opera')
arch=('i686')
source=(http://snapshot.opera.com/unix/snapshot-1772/intel-linux/opera-9.50-20080124.6-shared-qt.i386-1772.tar.bz2
opera.desktop)
options=('force')
build() {
cd ${startdir}/src/opera-9.50-20080124.6-shared-qt.i386-1772
sed 's|/usr/X11R6/lib/mozilla/plugins=1|/opt/mozilla/lib/plugins=1|' -i ini/pluginpath.ini || return 1
./install.sh DESTDIR=${startdir}/pkg
install -D -m 644 ${startdir}/src/opera.desktop ${startdir}/pkg/usr/share/applications/opera.desktop
install -D -m 644 LICENSE ${startdir}/pkg/usr/share/licenses/opera/license.txt
}
md5sums=('d835ca839ce4f6c18775c9397b0dac1a'
'f99bef1a9200abe5a5cda78665cddc84')
openSUSE
Arch Linux
USALUG
Offline
why don't you use "opera-snapshot" from:
archlinuxfr/opera-snapshot 1772-1 [installed]
The Weekly Build of Opera web browser
Zygfryd Homonto
Offline
Just comment the sed line:
#sed 's|/usr/X11R6/lib/mozilla/plugins=1|/opt/mozilla/lib/plugins=1|' -i ini/pluginpath.ini || return 1
Then use:
./install.sh DESTDIR=${startdir}/pkg --plugindir=/opt/mozilla/lib/plugins
Last edited by McQueen (2008-01-26 18:54:01)
/path/to/Truth
Offline
Pages: 1