summaryrefslogtreecommitdiff
path: root/libre/icedove-l10n
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
commit9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch)
tree06520d9024b40745b94f02d0d3419386e6496863 /libre/icedove-l10n
parent6cc893589a6bd208f2b7711f985e17df7a6df816 (diff)
parenta86ff663185661ee304bb1f6d00d982102dd706d (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'libre/icedove-l10n')
-rw-r--r--libre/icedove-l10n/PKGBUILD153
-rw-r--r--libre/icedove-l10n/brand.dtd4
-rw-r--r--libre/icedove-l10n/brand.properties3
3 files changed, 95 insertions, 65 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD
index 208e176ba..f3135dc8b 100644
--- a/libre/icedove-l10n/PKGBUILD
+++ b/libre/icedove-l10n/PKGBUILD
@@ -2,7 +2,8 @@
# Maintainer: André Silva <emulatorman@lavabit.com>
pkgbase=icedove-l10n
-pkgver=17.0.2.1
+_pkgver=17.0.5
+pkgver=17.0.5.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)
@@ -10,18 +11,19 @@ pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
-pkgrel=2
+pkgrel=1
pkgdesc="Language packs for Debian Icedove."
-arch=('i686' 'x86_64' 'mips64el')
-url="http://packages.debian.org/source/experimental/icedove"
+arch=('any')
+url="http://packages.debian.org/experimental/icedove"
license=('MPL' 'GPL')
depends=("icedove-libre>=$pkgver")
-_url=http://repo.parabolagnulinux.org/other/$pkgbase/releases/$pkgver
+makedepends=('unzip' 'zip')
+_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$_pkgver/linux-i686/xpi
-source=()
+source=('brand.dtd' 'brand.properties')
for lang in ${_langpacks[@]}
do
- source+=("langpack-$lang@icedove.mozilla.org.xpi::$_url/$lang.xpi")
+ source+=("icedove-l10n-$_pkgver-$lang.xpi::$_url/$lang.xpi")
done
# Don't extract anything
@@ -29,70 +31,91 @@ 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=(icedove-i18n-$(echo $lang | tr A-Z a-z))
- conflicts=(icedove-i18n-$(echo $lang | tr A-Z a-z))
- provides=(icedove-i18n-$(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=('2586db5adf22dd42ae272d9fdc1b230e'
- '20c25addb6e2cb3ffec146c1aca81848'
- 'b067b93b7f8adaf83fb8ea72d58b6581'
- 'ec62aaa9fff666c7071869cf45d2d113'
- '12b0e70965d7317a31d7d7b35195ee67'
- 'ff10849757b8157b73707ccfe572edf4'
- '89c7ea5ca764a2a4e4fbb9a720b8bd97'
- 'bf5cf9401ac5b10fa65a1e37a69b134d'
- 'fc97d1b7c0a209351d00e48075715986'
- '9439304cb4c13fbebb24872904df98f9'
- 'cc6f97d63af3686e08a8624930c7784b'
- '35a840226d1b8b3a0484f6327bd43b64'
- '26bf1309ee516fd183eb6afdaf3d703f'
- '9885394265e334d5026430c70d83669e'
- 'd39ac07026e6fea2b6e8cf9420cdae3c'
- 'c3154fd92db6387052b67154eee2c6cb'
- '5cd99e7414eebcc92724752d569ae18f'
- '48517d7a3295cab360e102945c4724f0'
- '27dfcf129c0e1e752149f1065e7683e2'
- '0f24e9851e14537f2d245ff7e0aae9e1'
- '839ffc54ae6593ec4d170957750bd2f2'
- '1a16c57b85ab9805bb7bc9afe8438efb'
- '1481869608ec96bdd2867ff3d507010b'
- '4e9633d016998af326fb0d759e4c03ce'
- 'bcf6664cf8667f5425bad0c4e261f5f8'
- 'a625dd60dffacfff6adab1a764f57721'
- '5c7b974dfc964abc0625ac770c558f08'
- '4c40f6e2da31675609b8fd6473f255a3'
- 'd57c319232421f43638b1af551704464'
- '155143f28edcb18cc39b1ad2b36e4945'
- 'f54217af7efb23324012d1bb3510a17d'
- 'd55d65f2c2b813da2a005beb751d3a8d'
- '23b699906a9ddae4589b2bf69bc40d66'
- 'b5c87362efedd884a5dbecff2f5c5dad'
- 'bec280e6279fb279143a99e348ce610f'
- 'd2eed0961cf3f684b20b4eb0a1d89189'
- 'ef85215d35b1e76e0058b98a9885e09d'
- '821d982f3c859b90615cefc321854fee'
- '03d7b26f8a60a1172b7dad3b45870b0f'
- '78b1830da6f93d87a491704c03bca2f3'
- 'da602151f86db7d701b1806ad0972734'
- '2db261b975a9c1199ef707c96a3ee677'
- 'b04a05cb6e66c2cdf9893954fd8dae49'
- 'c3d3969d4f590dfad0def596d1f5521f'
- '4892a9c3e0554815448d604de3857b37'
- 'b6250637b5beacec9ae6223b9878a53a'
- '987f9765fd6ee3d080533c071dff6492'
- '07e375fb25b3bd39ada11b6e18e7a836'
- '204ad4b577b3b23c664a442766e88cc1'
- '40b03dd5114095fbd15c943e7da3abfc'
- 'e14c994576b6824ff36b3e0e2bba6157'
- '4d1674a0f9d106c5a05c422742802add'
- '0c13d6c651ae5cca046d976df7576119'
- 'fd6da709c6937c419d2962275e3efdf1'
- '8fc2d9cb6724cd6fa010c5870d4d3122')
+md5sums=('d5b2567a8cc8f64591f313a6efdaaffc'
+ 'f3719964e893c1002b7a923e8f95f923'
+ 'ef463b3772f804beb4108e15917485fd'
+ '6125a2e91119afe4cd4fb78909bc2168'
+ '990067ee981db3bf9873e4bd9b2b1eba'
+ 'e32d496230cba49a435775359d4485ce'
+ 'd212d8bc244184e816cf36a9b654e7e6'
+ '4a83b506d1b81dfffa0b33bc0f12b24f'
+ '6349985a77b2db81a43cb22291bfd972'
+ 'dd4a259bfa4ce6816c55e9d7ff7f1172'
+ 'dc3ec06ccb5e98cfa332fca40af77470'
+ 'e81e63d8fac6c61cbbe72b1c8b0ce05c'
+ 'f0850f83f396c33a4e69abd00bda0e55'
+ 'ffc5de6b5409cf7cdd411ae853e0ba05'
+ '169780df5d160a04221dd80c92dd131a'
+ '8d1eacb770748156dbe02e493c41a5a6'
+ 'a3a0d856da6af722a6444567b684eb14'
+ '798415f06ce916eb6c84ea4cf97e1253'
+ 'c8eefe6a65295d354beb59e8f1b3116e'
+ '3ec1490226e064bc1145072ecdf031b4'
+ 'a3ff2959c9375084683b0741797103f9'
+ '99ea64506470bf7938e169bfe5f569b3'
+ '8170d58dcbb1b84820ef0ace6dc23965'
+ '24ba56f81446d551101d1848ed660682'
+ '53b9b22f7ad5916c8dfccd8b758828dc'
+ '0bdcd2f628dff58a4544e93a88344b76'
+ '87d516fbb68ae06d5ee7439a8a4d3d96'
+ 'c3cfa07d55fec1eb558e11c63ebd2a97'
+ '9845802371f603cb70df77a63088c16d'
+ '552e297a315a1b6f308604da4b492c53'
+ 'dc6755c33351b95f9e883c8e64fab7b6'
+ 'f3a67c52f5c5ca8cd5484250617f1aff'
+ '48fc583c7e67e87113fb73243da46313'
+ '4450b7753336f279296260e444cb0ba2'
+ '3a639521e20e5fb936f6d1b7679becd9'
+ '241a29846743f4dbcd5704e470193f30'
+ '71d71192e076a889da26129efd5f2f3d'
+ 'efc91beb8c199d459e1f24164066d75e'
+ 'ed717c1b94618faa8304796f1ff0acd7'
+ '8fc0aea02c1373f0ac0b7fa7eac2fa0c'
+ '808c60d4af8ee7b6bbbd82a5079c293e'
+ '6f0e4c6fe66e6d0e98f2fc444b59d629'
+ 'bc5e9972f5a092f4f28f577f7ade7ad7'
+ '2f852610ddc1550200965d4be6320879'
+ '6ad80cd433ef69c3577bfea9fd26cedc'
+ '0dd02b5317c9656c64543067956940bf'
+ '9e0d2f288130f048358135a89732ca85'
+ '936dbda4758d9a65f8c27603a2dee3bd'
+ '820d70ce31ca9731c162ab942b0daea1'
+ 'd737350d9edb73c15096e867fbdd8f3c'
+ 'b1896502d411dd6037f141d3561461d4'
+ '491a3a386c4963f162e050c370ffa140'
+ 'aa9f4e83501e624e4054f3ff61b71db3'
+ '257ee623933cfda550a8643a1a0b1d1c'
+ 'c3a8fa4fc511d914892e08fa17fab8a9'
+ '44be6381519c6c5ea785a4f5a5122a64'
+ '6693c752bf6272caed2e204556fc69b8')
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