summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2017-05-28 20:14:29 +0200
committerMuflone2017-05-28 20:14:29 +0200
commit4a91f16206a7f6883dbfbb4ce4e8b57bafe32223 (patch)
tree72a9602d5007b3fe42175608eb49b92b45f7ce38
downloadaur-4a91f16206a7f6883dbfbb4ce4e8b57bafe32223.tar.gz
New package palemoon-i18n-common 27.0-1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
-rw-r--r--disable-addons-installation-warning.js3
-rw-r--r--locale-match-os.js2
4 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7d58f1463df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sun May 28 18:10:57 UTC 2017
+pkgbase = palemoon-i18n-common
+ pkgdesc = Language pack for Pale Moon browser (common data)
+ pkgver = 27.0
+ pkgrel = 1
+ url = https://addons.palemoon.org/language-packs/
+ arch = any
+ license = GPL
+ source = disable-addons-installation-warning.js
+ source = locale-match-os.js
+ sha256sums = 61e93d46bf8b992cbcf71921039f8919eb46b49b67da593ee21dfb122cc187b7
+ sha256sums = 664601f9e8985bdbb534859076cf54e974f8b95f483cc2621ed21ca6902c18ab
+
+pkgname = palemoon-i18n-common
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d099c6f195c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=palemoon-i18n-common
+pkgver=27.0
+pkgrel=1
+pkgdesc="Language pack for Pale Moon browser (common data)"
+arch=('any')
+url="https://addons.palemoon.org/language-packs/"
+license=('GPL')
+source=("disable-addons-installation-warning.js"
+ "locale-match-os.js")
+sha256sums=('61e93d46bf8b992cbcf71921039f8919eb46b49b67da593ee21dfb122cc187b7'
+ '664601f9e8985bdbb534859076cf54e974f8b95f483cc2621ed21ca6902c18ab')
+
+package() {
+ install -m 755 -d "${pkgdir}/usr/lib/palemoon/browser/defaults/preferences"
+ install -m 644 -t "${pkgdir}/usr/lib/palemoon/browser/defaults/preferences" \
+ "disable-addons-installation-warning.js" \
+ "locale-match-os.js"
+}
diff --git a/disable-addons-installation-warning.js b/disable-addons-installation-warning.js
new file mode 100644
index 00000000000..22815e6abaf
--- /dev/null
+++ b/disable-addons-installation-warning.js
@@ -0,0 +1,3 @@
+// Don't disable our bundled extensions in the application directory
+pref("extensions.autoDisableScopes", 11);
+pref("extensions.shownSelectionUI", true);
diff --git a/locale-match-os.js b/locale-match-os.js
new file mode 100644
index 00000000000..01729a5f0b5
--- /dev/null
+++ b/locale-match-os.js
@@ -0,0 +1,2 @@
+// Use LANG environment variable to choose locale
+pref("intl.locale.matchOS", true);