summaryrefslogtreecommitdiff
path: root/~emulatorman/iceape-l10n
diff options
context:
space:
mode:
Diffstat (limited to '~emulatorman/iceape-l10n')
-rw-r--r--~emulatorman/iceape-l10n/PKGBUILD77
-rw-r--r--~emulatorman/iceape-l10n/region.properties32
2 files changed, 77 insertions, 32 deletions
diff --git a/~emulatorman/iceape-l10n/PKGBUILD b/~emulatorman/iceape-l10n/PKGBUILD
index 1170df1d5..6b04dd6da 100644
--- a/~emulatorman/iceape-l10n/PKGBUILD
+++ b/~emulatorman/iceape-l10n/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer: André Silva <emulatorman@lavabit.com>
# Based on icecat-i18n package, which is in turn based on firefox-i18n
# When updating to a newer upstream release:
@@ -11,7 +11,7 @@
# - Run 'make'. It will take care of everything else for you.
_debname=iceape
-_debver=2.7.11
+_debver=2.7.12
_debrel=1
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
@@ -22,7 +22,6 @@ pkgbase=iceape-l10n
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
-_pkgver=2.7.11
pkgver=${_debver}.${_debrel}
pkgrel=1
@@ -31,24 +30,37 @@ arch=('i686' 'x86_64' 'mips64el')
url="http://packages.debian.org/source/sid/iceape"
license=('MPL')
depends=("iceape-libre>=$pkgver")
-
-source=()
+makedepends=('unzip' 'zip')
+source=('region.properties')
for lang in ${_langpacks[@]}
do
source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel}_all.deb")
done
+_path="/usr/lib/iceape/extensions"
+
build() {
cd "${srcdir}"
for f in *.deb
do
bsdtar xf $f
- bsdtar xf data.tar.gz
+ bsdtar xf data.tar.xz
done
-}
-_path="/usr/lib/iceape/extensions"
+ cd $srcdir/$_path
+ for i in ${_langpacks[@]}
+ do
+ cd $srcdir/$_path
+ unzip -q langpack-$i@iceape.mozilla.org.xpi -d $i
+ rm langpack-$i@iceape.mozilla.org.xpi
+ install -Dm644 $srcdir/region.properties $i/chrome/$i/locale/browser-region
+ cd $i
+ zip -q -r $srcdir/$_path/langpack-$i@iceape.mozilla.org.xpi .
+ done
+
+ cd $srcdir
+}
for lang in ${_langpacks[@]}
do
@@ -62,26 +74,27 @@ package_iceape-l10n-$(echo $lang | tr A-Z a-z)() {
"
done
-md5sums=('fb27360aff6250e7d483803583a5cd78'
- '236c7aacd7e6416a37aff95f7bfa6a80'
- 'f17d76128ab529415078cafe63b61d50'
- '07a5c72158427db8c5a990be6eb2d036'
- 'fddbcf27d00f1f4d92fed197ace8dd1b'
- '96eb3291200c44ffdc3ab1d1446f00b7'
- '04dec3bee388ae66cd434342ab03074f'
- 'bdef8b38501e7d6805b5304ef2bf8425'
- '90b5d0ab0ab2eb3b75e5f80cb6d289bb'
- '97f940c39b84a90b0e16eaeca4fa7806'
- '34644b44381ae1da46f2fa308fd1cf34'
- 'a6240664344798568276dd5dbdd27fb2'
- '61aedef6a89b400584dde82b5e97ff0f'
- 'abe7a9172876b30c4677b1f4c2237fc9'
- '60f3c543fbdb72cc12aef8f2369101ff'
- 'c002da281c0d0fa357f92edd2b8cd12c'
- 'c17ab30f25f05024879afdf85fa4c516'
- '250a08a999d6d1d6086ffbd17d60fbb4'
- '609ce8793ea0d5465da7195e4d956fef'
- '060226599bac5bc8ddb64417ef1a0108'
- 'eaa827909690bfa8dfdc621164e23ca8'
- '3fb66893b5ea3b959de48ef16fb26c74'
- '6f2d77e767efa0b0d4cb56df9ccd0a2f')
+md5sums=('428246ef3fb64103ff2cf5eaae2a92ca'
+ '22a14a6a2f03d0004a1fa990892094ef'
+ 'af2379ea50672fe37ff8550d5c9e20a0'
+ 'e5975c3b1ffaa5fcb3f5203cdfe8e0fb'
+ '21fcbd011acc382f5ec7a32aa04562ef'
+ '8fbf821c811c55514a100ae5d5e9e844'
+ 'bd8f18e0d0f233e0a1c1a518537798a5'
+ '037cbb6fe0576f7f5bbbf956928f01e1'
+ '56964b577fcb077a9b81d07c59cc5af3'
+ 'd2fb622717114a921efb37f028f31c6c'
+ '6abe2dbab7fcbdaf43e77290ca6853c9'
+ '558a2d29be749f6506f774703c58952f'
+ '7abdc6eb4154b88509a6c4f119c943a7'
+ '5a4fad9c23c8d19833ac5c76ad9aca4a'
+ '8d45110acc90f388923f01fb9cfca947'
+ 'd1acbe2ef1120e70d5365476aa8679f9'
+ '604de00ea6ee06565212804b0d499df3'
+ 'ceee78a29bd2f947558f04489ee50f54'
+ 'afc6e343f0635a3ee5b7a22af947e8b8'
+ '455bab7a596cb43ac4ad80cb89a78b25'
+ '92a985b40aec8b3726ba22f45667994d'
+ 'bc8c98f0518617ed2220fb3bfb03e165'
+ '449c91720751538f09ad3d555dbe2fce'
+ '8843be8937963d094d4272ac33019082')
diff --git a/~emulatorman/iceape-l10n/region.properties b/~emulatorman/iceape-l10n/region.properties
new file mode 100644
index 000000000..4399d8db7
--- /dev/null
+++ b/~emulatorman/iceape-l10n/region.properties
@@ -0,0 +1,32 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Default search engine
+browser.search.defaultenginename=DuckDuckGo HTML
+
+# Search engine order (order displayed in the search bar dropdown)s
+browser.search.order.1=DuckDuckGo HTML
+browser.search.order.2=DuckDuckGo Lite
+browser.search.order.3=Seeks Search
+
+# URL for site-specific search engines
+# TRANSLATION NOTE: {moz:domain} and {searchTerms} are placeholders for the site
+# to be searched and the user's search query. Place them in the appropriate location
+# for your locale's URL but do not translate them.
+browser.search.siteSearchURL=https://duckduckgo.com/html/?q=site%3A{moz:domain}+{searchTerms}
+
+# increment this number when anything gets changed in the list below. This will
+# cause Firefox to re-read these prefs and inject any new handlers into the
+# profile database. Note that "new" is defined as "has a different URL"; this
+# means that it's not possible to update the name of existing handler, so
+# don't make any spelling errors here.
+gecko.handlerService.defaultHandlersVersion=3
+
+# The default set of protocol handlers for irc:
+gecko.handlerService.schemes.irc.0.name=Freenode
+gecko.handlerService.schemes.irc.0.uriTemplate=https://webchat.freenode.net/?channels=%s
+
+# The default set of protocol handlers for ircs:
+gecko.handlerService.schemes.ircs.0.name=Freenode
+gecko.handlerService.schemes.ircs.0.uriTemplate=https://webchat.freenode.net/?channels=%s