firefox: install vendor.js to correct dir; use system dictionaries.
This commit is contained in:
parent
e3d4c131fe
commit
a4c5cc2def
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'firefox'.
|
# Template build file for 'firefox'.
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=21.0
|
version=21.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=mozilla-release
|
wrksrc=mozilla-release
|
||||||
short_desc="Lightweight gecko-based web browser"
|
short_desc="Lightweight gecko-based web browser"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -29,14 +29,19 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
make -f client.mk DESTDIR=${DESTDIR} install
|
make -f client.mk DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
vinstall ${FILESDIR}/vendor.js 644 usr/lib/firefox/defaults/pref
|
vinstall ${FILESDIR}/vendor.js 644 usr/lib/firefox/browser/defaults/preferences
|
||||||
|
|
||||||
vinstall ${FILESDIR}/firefox.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/firefox.desktop 644 usr/share/applications
|
||||||
|
|
||||||
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
||||||
vinstall browser/branding/official/default${i%x*}.png 644 \
|
vinstall browser/branding/official/default${i%x*}.png 644 \
|
||||||
usr/share/icons/hicolor/${i}/apps firefox.png
|
usr/share/icons/hicolor/${i}/apps firefox.png
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Use system-provided dictionaries
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/firefox/{dictionaries,hyphenation}
|
||||||
|
ln -s /usr/share/hunspell ${DESTDIR}/usr/lib/firefox/dictionaries
|
||||||
|
ln -s /usr/share/hyphen ${DESTDIR}/usr/lib/firefox/hyphenation"
|
||||||
|
|
||||||
# We don't want the development stuff
|
# We don't want the development stuff
|
||||||
rm -rf ${DESTDIR}/usr/{include,lib/firefox-devel,share/idl}
|
rm -rf ${DESTDIR}/usr/{include,lib/firefox-devel,share/idl}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue