summaryrefslogtreecommitdiff
path: root/libre/icedove-l10n
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icedove-l10n')
-rw-r--r--libre/icedove-l10n/PKGBUILD121
-rw-r--r--libre/icedove-l10n/brand.dtd4
-rw-r--r--libre/icedove-l10n/brand.properties3
3 files changed, 128 insertions, 0 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD
new file mode 100644
index 000000000..fd24630fe
--- /dev/null
+++ b/libre/icedove-l10n/PKGBUILD
@@ -0,0 +1,121 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer: André Silva <emulatorman@lavabit.com>
+
+pkgbase=icedove-l10n
+_pkgver=17.0.4
+pkgver=17.0.4.1
+
+_langpacks=(ar ast be bg bn-BD br ca cs da de el en-GB en-US es-AR es-ES et eu fi fr fy-NL ga-IE gd gl he hr hu hy-AM id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW)
+
+pkgname=($(for lang in ${_langpacks[@]}
+ do echo $pkgbase-$lang | tr A-Z a-z
+ done))
+
+pkgrel=1
+pkgdesc="Language packs for Debian Icedove."
+arch=('i686' 'x86_64' 'mips64el')
+url="http://packages.debian.org/source/experimental/icedove"
+license=('MPL' 'GPL')
+depends=("icedove-libre>=$pkgver")
+makedepends=('unzip' 'zip')
+_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$_pkgver/linux-i686/xpi
+
+source=('brand.dtd' 'brand.properties')
+for lang in ${_langpacks[@]}
+do
+ source+=("icedove-l10n-$_pkgver-$lang.xpi::$_url/$lang.xpi")
+done
+
+# Don't extract anything
+noextract=(${source[@]##*/})
+
+_path="/usr/lib/icedove/extensions/"
+
+build() {
+ cd $srcdir
+
+ for i in ${_langpacks[@]}
+ do
+ cd $srcdir
+ unzip -q icedove-l10n-$_pkgver-$i.xpi -d $i
+ rm icedove-l10n-$_pkgver-$i.xpi
+ install -Dm644 $srcdir/brand.dtd $i/chrome/$i/locale/$i/branding
+ install -Dm644 $srcdir/brand.properties $i/chrome/$i/locale/$i/branding
+ sed -i -e 's/thunderbird/icedove/' $i/install.rdf
+ cd $i
+ zip -q -r langpack-$i@icedove.mozilla.org.xpi .
+ mv langpack-$i@icedove.mozilla.org.xpi $srcdir
+ done
+
+ cd $srcdir
+}
+
+for lang in ${_langpacks[@]}
+do
+ eval "
+package_icedove-l10n-$(echo $lang | tr A-Z a-z)() {
+ replaces=(thunderbird-i18n-$(echo $lang | tr A-Z a-z) icedove-i18n-$(echo $lang | tr A-Z a-z))
+ conflicts=(thunderbird-i18n-$(echo $lang | tr A-Z a-z) icedove-i18n-$(echo $lang | tr A-Z a-z))
+ provides=(thunderbird-i18n-$(echo $lang | tr A-Z a-z) icedove-i18n-$(echo $lang | tr A-Z a-z))
+ install -Dm644 \"\$srcdir/langpack-$lang@icedove.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@icedove.mozilla.org.xpi\"
+}
+"
+done
+
+md5sums=('d5b2567a8cc8f64591f313a6efdaaffc'
+ 'f3719964e893c1002b7a923e8f95f923'
+ '206f1ef0917d6c072edef7e5d77a9ec6'
+ 'dfcdea2b4ae57a3fa98a60fd1d90beff'
+ '25271fbc262c9379b7b9c04798d9a57e'
+ 'cef8ef756ae9bd611d8c92435ce3d550'
+ 'aee21b8e9835361d7fad9cabc26176ec'
+ '9cc55cfc826cfebdb52d471d4683e2ad'
+ 'efb76f4fc5b66e6936a3a64ebb6a11b9'
+ '365ca3b65ec2ca0f6aba405172f909fc'
+ '02e296fa634c03dc1b8d71dd7c2e445f'
+ 'e300d530881628b012e4071c5b1ac1e7'
+ '5bd79ebfb86e8939d480b49abd484370'
+ '09acd6af201f415d169b8019c0bb3929'
+ '9205fbc01cee7caf8578cd845596542a'
+ '7fd2672aa378a5c6b3d4d33eb71dff9d'
+ '8babeccaefc144d7798fb22446a72395'
+ '834b93522fb7875bc6fc3551d90a9b75'
+ 'd690f9d0e0f3317ab500e711692c5684'
+ 'bfe0b4a94a02e0ca8da411b58c17a5a1'
+ '4156b699bb0dbbf073893cbef96db478'
+ '1f8527f158f5bcacfde1e9b259769c14'
+ 'c7fb6f52652ffeb7b7c09f27c73ee32b'
+ '6b57787b83b27a80c175b197d9a0fd8f'
+ '9a30b1017efa98e4c392a367341e7d5b'
+ '6e5d20da97211e9f72cc537327783f4d'
+ '0d0cd95f0e1765c1f56a39609533efa3'
+ '34773b8acd0e23d99918969a3a86159e'
+ 'bc1b94e53e3f6d5e716ceb7d4979e278'
+ 'bf577e83fc52e94164426d7a9dcc10b0'
+ '4328456c0a54334e020b643c37328eec'
+ '7232b4d0faf2f10f7fd6c7e05ef84d7a'
+ '11ada83816bcdea125dff74022acd715'
+ '0d6100971791dbac333cb24f8fa81c7b'
+ '685315fce2d77b64f58133d5d405200f'
+ 'e5f15fc603190c6bb0a0cdfe6bf5e863'
+ 'f2d4a099467f09b49f1bed06812d60d6'
+ '88b0177d8342a6aae79c1cba74e6c041'
+ 'e19d3f90b9d41f9e7749875a1e2c037b'
+ '8e956438b49d548431728758206a101e'
+ '6597b2bbf2c9bf8af88d4b707400df24'
+ '794a9831d1f3c43156ec3f85f155f1e2'
+ '9b8e8f1fcc2bf891c1273b9470f95af5'
+ '7b423d358869c35dde53015f800e0dbd'
+ 'a8258e8427d4961a509dc980f9a56986'
+ 'f7be2a19d5046c5ec537b3248d0107b0'
+ '2d892a7f25a10d4607b76e2ce65743e5'
+ '6f2391fdfc198177f65c407ac3d10ce2'
+ '7e53185c09b5672f08573e3e96150ad1'
+ 'fa4528be1f856b9f612af643ff2d1675'
+ '983b51b70b7e57a8bf3b956adc309f88'
+ 'efc16a35ab9cff05473ff3e5f2cbf7ee'
+ 'f9456837c567d422ac2e69fd72598089'
+ '9dcbf6fc85bfc768d784cb3bd764c103'
+ '302d409e53f598e830d8b180f108586e'
+ '5e21d7621b87a639c41c5fc6245203df'
+ '317e9a8bc1ca22a1f89d6898cca19500')
diff --git a/libre/icedove-l10n/brand.dtd b/libre/icedove-l10n/brand.dtd
new file mode 100644
index 000000000..54fcfe419
--- /dev/null
+++ b/libre/icedove-l10n/brand.dtd
@@ -0,0 +1,4 @@
+<!ENTITY brandShortName "Icedove">
+<!ENTITY brandFullName "Icedove">
+<!ENTITY vendorShortName "Mozilla">
+<!ENTITY trademarkInfo.part1 " ">
diff --git a/libre/icedove-l10n/brand.properties b/libre/icedove-l10n/brand.properties
new file mode 100644
index 000000000..44bf191d6
--- /dev/null
+++ b/libre/icedove-l10n/brand.properties
@@ -0,0 +1,3 @@
+brandShortName=Icedove
+brandFullName=Icedove
+vendorShortName=Mozilla