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'.
|
||||
pkgname=firefox
|
||||
version=21.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=mozilla-release
|
||||
short_desc="Lightweight gecko-based web browser"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -29,14 +29,19 @@ do_build() {
|
|||
do_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
|
||||
|
||||
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
||||
vinstall browser/branding/official/default${i%x*}.png 644 \
|
||||
usr/share/icons/hicolor/${i}/apps firefox.png
|
||||
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
|
||||
rm -rf ${DESTDIR}/usr/{include,lib/firefox-devel,share/idl}
|
||||
|
||||
|
|
Loading…
Reference in New Issue