29 |
mirror://${PNAME/-${MOZ_LANG}/}/${PVER}/${SRCFILE} |
mirror://${PNAME/-${MOZ_LANG}/}/${PVER}/${SRCFILE} |
30 |
) |
) |
31 |
|
|
32 |
|
mozilla_i18n_src_prepare() |
33 |
|
{ |
34 |
|
install -d ${SRCDIR} || die |
35 |
|
cd ${SRCDIR} |
36 |
|
cp ${SOURCEDIR}/${PNAME}/${SRCFILE} ${SRCDIR}/ || die |
37 |
|
} |
38 |
|
|
39 |
mozilla_i18n_src_install() |
mozilla_i18n_src_install() |
40 |
{ |
{ |
41 |
# get install id for the extension |
# get install id for the extension |
43 |
|
|
44 |
# needed directories |
# needed directories |
45 |
minstalldir ${MOZ_HOME}/extensions/${id} || die |
minstalldir ${MOZ_HOME}/extensions/${id} || die |
46 |
minstallfile ${SOURCESDIR}/${PNAME}/${SRCFILE} ${BINDIR}/${MOZ_HOME}/extensions/${id}.xpi || die |
minstallfile ${SRCDIR}/${SRCFILE} ${MOZ_HOME}/extensions/${id}.xpi || die |
47 |
} |
} |
48 |
|
|
49 |
export_inherits mozilla_i18n src_install |
export_inherits mozilla_i18n src_prepare src_install |