89 |
src_prepare() |
src_prepare() |
90 |
{ |
{ |
91 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
|
cd ${SRCDIR} |
|
|
|
|
|
# fix install destination |
|
|
sed -i "s:/usr/local:${BINDIR}/opt/opera:g" install || die |
|
92 |
} |
} |
93 |
|
|
94 |
src_install_opera() |
src_install_opera() |
95 |
{ |
{ |
96 |
cd ${SRCDIR} |
cd ${SRCDIR} |
97 |
|
|
98 |
|
# fix install destination |
99 |
|
# (do it here, not in src_unpack to support split-packages) |
100 |
|
sed -i "s:/usr/local:${BINDIR}/opt/opera:g" install || die |
101 |
|
|
102 |
# prepare installation directories for opera's installer script |
# prepare installation directories for opera's installer script |
103 |
minstalldir /opt/opera |
minstalldir /opt/opera |
104 |
# run opera's native installer |
# run opera's native installer |