summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel-l10n/PKGBUILD251
-rw-r--r--libre/iceweasel-l10n/brand.dtd5
-rw-r--r--libre/iceweasel-l10n/brand.properties3
3 files changed, 121 insertions, 138 deletions
diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD
index 07a3ff94c..fcd07a6ff 100644
--- a/libre/iceweasel-l10n/PKGBUILD
+++ b/libre/iceweasel-l10n/PKGBUILD
@@ -5,26 +5,23 @@
# Contributor: Figue <ffigue@gmail.com>
# Based on icecat-i18n package, which is in turn based on firefox-i18n
-# When updating to a newer upstream release:
-# - Edit variables in in Makefile.
-# - (optionally) edit PKGBUILD.in
-# - Run 'make'. It will take care of everything else for you.
-
_debname=iceweasel
_debver=27.0
-_debrel=deb1
+_debrel=deb2
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
_langpacks=(ach af an ar as ast be bg bn-BD br bs ca cs csb cy da de el en-GB en-ZA eo es-AR es-CL es-ES es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk km kn ko lij lt lv mai mk ml mr nb-NO nl nn-NO or pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta te th tr uk vi xh zh-CN zh-TW)
pkgbase=iceweasel-l10n
-pkgname=($(for lang in ${_langpacks[@]}
- do echo $pkgbase-$lang | tr A-Z a-z
- done))
+pkgname=(
+ $(for lang in ${_langpacks[@]}; do
+ echo $pkgbase-$lang | tr A-Z a-z
+ done)
+)
epoch=1
pkgver=$_debver.$_debrel
-pkgrel=2
+pkgrel=1
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
@@ -32,133 +29,127 @@ url="http://packages.debian.org/experimental/iceweasel"
license=('MPL' 'GPL')
depends=("iceweasel-libre>=$epoch:$pkgver")
makedepends=('unzip' 'zip')
-source=('brand.dtd' 'brand.properties' 'region.properties')
-for lang in ${_langpacks[@]}
-do
- source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel#deb}_all.deb")
+source=('region.properties')
+for lang in ${_langpacks[@]}; do
+ source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel#deb}_all.deb")
done
-_path="/usr/lib/iceweasel/browser/extensions/"
+_path=usr/lib/iceweasel/browser/extensions
-build() {
- cd "${srcdir}"
- for f in *.deb
- do
- bsdtar xf $f
- bsdtar xf data.tar.xz
+prepare() {
+ cd $srcdir
+ for f in *.deb; do
+ bsdtar xf $f
+ bsdtar xf data.tar.xz
done
- cd $srcdir/$_path
-
- for i in ${_langpacks[@]}
- do
- cd $srcdir/$_path
- unzip -q langpack-$i@iceweasel.mozilla.org.xpi -d $i
- rm langpack-$i@iceweasel.mozilla.org.xpi
- install -Dm644 $srcdir/brand.dtd $i/browser/chrome/$i/locale/branding
- install -Dm644 $srcdir/brand.properties $i/browser/chrome/$i/locale/branding
- install -Dm644 $srcdir/region.properties $i/browser/chrome/$i/locale/browser-region
- cd $i
- zip -q -r $srcdir/$_path/langpack-$i@iceweasel.mozilla.org.xpi .
+ mv $_path/* .
+ rm -r {control.tar.gz,data.tar.xz,debian-binary,etc,usr}
+ rm -r *.deb
+
+ for lang in ${_langpacks[@]}; do
+ unzip -q langpack-$lang@iceweasel.mozilla.org.xpi -d $lang
+ rm langpack-$lang@iceweasel.mozilla.org.xpi
+ install -Dm644 $srcdir/region.properties $lang/browser/chrome/$lang/locale/browser-region
+ cd $lang
+ zip -q -r langpack-$lang@iceweasel.mozilla.org.xpi .
+ mv langpack-$lang@iceweasel.mozilla.org.xpi $srcdir
+ cd ..
+ rm -r $lang
done
-
- cd $srcdir
}
-for lang in ${_langpacks[@]}
-do
- eval "
-package_iceweasel-l10n-$(echo $lang | tr A-Z a-z)() {
- replaces=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
- conflicts=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
- provides=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
- install -Dm644 \"\$srcdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\"
-}
-"
+for lang in ${_langpacks[@]}; do
+ eval "
+ package_iceweasel-l10n-$(echo $lang | tr A-Z a-z)() {
+ replaces=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
+ conflicts=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
+ provides=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
+ install -Dm644 \"\$srcdir/langpack-$lang@iceweasel.mozilla.org.xpi\" \"\$pkgdir/$_path/langpack-$lang@iceweasel.mozilla.org.xpi\"
+ }
+ "
done
-md5sums=('41882dabdc0315962f18d78ee97d5be5'
- '87640dacdbba301feaf1fb30bfa60137'
- 'a4593936bf1c7a9ec9368ff249f9cc56'
- 'e93e1d1c6c19506280909c9c44381b31'
- 'fd6a3c94db2ec15724e0282ad8bbb88b'
- '5f487d08c63467bce76500d476c2e720'
- 'b7432c77be0c5140c287e30472e7558c'
- '140b8d771db5186617e900e94ca81e8e'
- 'cdc18a87637fc75cd74d1488e9e8014a'
- '7ee9df5caa96cc3496476a8a6b3da382'
- 'a5c9f178c37cb613ba02a04e9a5a14a5'
- 'c0d36f5bb3db675aa103ebaa6989b3db'
- 'd403801bf45498022fb326163325353d'
- 'c720ad3bebddfb235bc115bd54df7e53'
- 'b6dc0cd09ea300054b7b67ee3e57e426'
- '7fb5774ef19301f09dd7cd2da40b9abb'
- '7705c17405a8fb2200f2eb0f35e5874c'
- '49ae75599defd90f8e78553b66b2d41f'
- '31ee848294ced1516c5652d60604f797'
- 'f5123e7c55b69090b1383a8f1d457516'
- '8aac6a53fe7a8f580fc6e3915a1cb867'
- 'd4e4e1f7acfe5752b7d9d2b0af966373'
- '3553b70e38157a9367b64d5b9b5c22ce'
- 'f3df39d6e307eb1e4f120532a090cd34'
- '3a624c988e1accbd788d864806a552b8'
- 'a1385f224c6a01efa08a7536c70e65ae'
- 'a7a4987f1fc7a403d5bf950ffcab97ca'
- 'c6d5bdd7eefe7e8f971c7f9e21c71cd8'
- '75b2044c67f19c4bb5ce7441603a090d'
- 'd5b282183ae094e9cb2930b9d06a2945'
- 'e2f680acba50a509f4944d64f0e8b12a'
- '062437e3d5fec69444cf129a69d55800'
- '20e5290717405966bc458c331749457c'
- '68d8e0e0e372f18a6d607df1734bc6b9'
- '096a58d2a00d2cd8cace2d63fa0454ae'
- '7b9e564ced4e5fe060ca85885ae0d441'
- '8e3fc652f5abf4c534d67e819ec996f2'
- 'e20ac9d23378ada9f3f3a92e60b2ee93'
- '1c021d9b8acd5fe515b00323e0738ea9'
- '92525a283b5d4742601d8878d8d7bef2'
- '02b2b40f53e0a41e3d1dbf63049ed32d'
- 'e4f84a508bce58208846a94b48c1e892'
- '91f73ccc80415f72ae01e095ad062145'
- '5cc74c624f9f27066ca90641d159e632'
- '007ec8847575f4cf81d6a597c8be6d5d'
- '79962353f3fd65b4db090a547391c7d6'
- '4d6b7cde50343d39747f7cfefe7779ff'
- 'b3ab5bbaa080770d34a56e16b8f37e7d'
- '1bea7cdc4df0526043041dfcfcbc0a27'
- '40f1faaa2990445ab1d3695e098b5e84'
- 'c7c70615a8ca50157659f0003102c1c8'
- '392633fe2681a7cc007e895632e880d7'
- 'a51f8c7f674ce2b989e7961dc9b4178b'
- 'a036c9497d2a098929367ef29829c355'
- '89a9ec509e38fefaaf93d6d20f7de24e'
- '87eedd063b0670a83ea0801477eb6432'
- '3ac80ae65e573e7af571ad324fc89ec3'
- 'f52387d2feda45b58fb7fdabe2e1d3c0'
- 'ad14ebdfa234cfc72c47d55dd4705e11'
- '1ae5033d60a54eacea3b54ed3aac2215'
- '5c73173dffe662529fc2953babfdf42e'
- '901f0c97282dbe5a4bbb2130b2a6147e'
- 'c951c259bc0b44579e3575ab988a13db'
- '930a0a30ce2ef304a69c5adefb0d4046'
- 'c9ab698b523f0bec97462f6a948b1bd1'
- '29cef68ad4ec2380ab4e731cb6d7aa55'
- '878e8a2e9010e7f2f8285d7fe159c324'
- '1fe1bdd0eab73b7380a72a7f803bf6a5'
- '4fcbc7d321a5d233593a78150dd18f1e'
- '706ba0aa5f27e3a7eb327e91d38d2419'
- 'c3a828894acd6961f5f324a141ee37c3'
- '8d1ccee2e1ebb515d6a20e5192168499'
- '6fdcc7c1a624608e284000ad3526aaa8'
- '39c18edb12a04849fd5bed795ac1559f'
- 'b25714bb9a8686ab83291812f5922a72'
- '0484bb8a9750e5bd99f332412d2473cc'
- '777fc3c6dfa24138d95c41d1ce1d14b9'
- 'd47833bbe4ba37c24c1c6d796e829581'
- '8bed0e985e274d47bfc321165df07416'
- '34382f666d44025751e4f6d7bfc84532'
- '57248a792eaeb5ca5def21bbb3e45fcf'
- 'a69d513999f3f50b8dcc1101354c99c4'
- '47ba44a2df13e49cc4a07f3529e35497'
- 'bde19859f08ff1051b823ae78265a2e7'
- '1412ee3cf88155a42a5b534c96b02f97')
+md5sums=('a4593936bf1c7a9ec9368ff249f9cc56'
+ 'de575fedef8fd6b811334d8b9c082479'
+ '36043f6b423fd8c0a378c2e5fcb3a3c1'
+ '306ef53afb18ffa3ec57feb0063ab433'
+ '9af26b5177f1b20cb682299345ad1a87'
+ '21d7586f0dcc740835c9d3a6e9cee397'
+ '94c11e19db72eea7a5630bbf6c4a992d'
+ '86f1a539a8f9af7ea81a63f11a882b70'
+ 'c62fdd3ce834337d43c4e59af3b87553'
+ '0678ff6935296e17e36c40b3fc17ac96'
+ '680ff4dbae9ce0b9f1bcd092169e6a34'
+ 'dc8e478e69b1ee22126cb6addc744fe5'
+ 'a513f4af7f608347225cd4180e89dee6'
+ '17d1e0cd0c7023461fc5dde7b97ee4b1'
+ 'c08f2cd5a29737b20ecc2f7c2892bd74'
+ '8ff5f9ea03c3fff51142df8c52626b22'
+ 'f8a42eb22e2192793a85112adb8e2278'
+ 'f1b221697547feff3e69889a9e9dd1b4'
+ '1c106f032476d2443b368e52d9e1bc69'
+ 'dbf5e2a01c84e18dc19ed9be5e12920b'
+ '9d6e6b497af88a0b5c44845adf275f9d'
+ 'aeb7f058aabd5d7d4e05f8e7917bd59b'
+ '4612bf235fdfd328e176b3e682e61072'
+ 'ebf5aefb15834234fbac6a4310b8f8ab'
+ '7591125ee445836f9e1247f5a7f6a474'
+ '410d090d68240f1f304ff94c4847817e'
+ '96a9dbd806a336936a4642ae95d12a26'
+ '4924dd568df7dc0428f3458758eadca1'
+ '62d46770f79074fc90ce4c1e4f5e5169'
+ 'c57d361eaa5d0fb90e872dd8f1d3fce1'
+ 'dbbba15f93f960c19bab63599b8f771c'
+ '0025e4609f5d1f72bf784f35d42934a9'
+ '638306adb405c506baa2728a00237d50'
+ '7ae2cbe9e2888b95a513eb8238e6e5d2'
+ '8b560d4ae6f62bb64d8fa8c1a62abe27'
+ '52bd4641b6066a2a0596c7b4f64b25c1'
+ '9293f6d596e7586c7955cc0d6d71dbbb'
+ 'a634db784e4bb6efda49e2508d58c96c'
+ 'ebf52ea0d70699f5d2651054b975dac2'
+ '6fbf98e9d4477d3355369bbf9c33c9aa'
+ 'a0c6cb16be15cdca746f52fe07af0ab8'
+ '934f4c14a9242228da3322bd844f001b'
+ '29df15b3dad1764cb236e1913adb6895'
+ '8f4bd42afb2b0042300b50dbd575ed76'
+ '9f1d8951c50f6dd133089824db8e811b'
+ 'df683c5a6b64226311f1158e1cfd7387'
+ 'ddf59c931fb1d11337dfb30796172222'
+ '3c69e0fa5c10427c9d95b26fecb73366'
+ 'fdf86cfbcf7e6084f01fda86b3907d68'
+ '4f602efbc5ee7dbcf315b7c00c5a9824'
+ '30012df56189ba8de7a2be3089ac7037'
+ '90660c135667807a35d5a424a14a03c7'
+ '39e8128c27e68f03db07ec9d3a4661f4'
+ '34c9463b7bd4000cb6c2178568ea5d57'
+ 'd6008349e2b26e11b4bf29d182236d15'
+ '1d51c2c91f10f459227a2c4e16e2cf52'
+ '59b1f8e007070d0ac598cc8782cc775d'
+ '23f7deb8fbbf8b74426299cf239e83bd'
+ '81ec70e9b9fdf887d00c9422d94803d0'
+ 'b4aea1741607118d5d128df88181c363'
+ '52dbb00c5e7adcdee972b2daf689401b'
+ 'a180a40f9651e8ca3ebdb3001fce6fa7'
+ 'fed061bc838b9eec2e1c187e64b93176'
+ '09b9eae4bdfbc1f7f4939f01a325bb40'
+ '337f7aaf9a2d7b94a9c33648a9734287'
+ '647abcd745c18a80e5187bc28b1b67b8'
+ 'b9c5f0043fe7c26e23ba42450afb57b6'
+ '6c9bb760adb3ae75ddb969c595649732'
+ '70917dca185cf1f150df72eb848b6315'
+ 'cc16dd7b22855338055429a3fd1a2367'
+ '236a36024c7660e7ec0ab2c7931b9ea0'
+ '471e98027910bcbfba3957df1e6a3c4a'
+ 'cea62f763650bb50e770055288e3bd7c'
+ '0f4abd8240ecc996fd434b0139a9996b'
+ 'cec783e074568d1c750ee88a2bbb003f'
+ '437d59dd764666147bfe5d27b0848b94'
+ 'f05ac803378d996351a277ebcc99e0e2'
+ '13ddcd0d7c10e381458d5563476d53c3'
+ 'f33a663b92b61fa02c28b881deae2376'
+ '4c4b58d49295b0b873f265ffa369a27d'
+ '67e54d3c0058263192700617500045e7'
+ '1022e9f23438b96df2f0dd054ff195b0'
+ '8274a6aafc5b097ab0659675d66b87c6')
diff --git a/libre/iceweasel-l10n/brand.dtd b/libre/iceweasel-l10n/brand.dtd
deleted file mode 100644
index 70f2bcb2e..000000000
--- a/libre/iceweasel-l10n/brand.dtd
+++ /dev/null
@@ -1,5 +0,0 @@
-<!ENTITY brandShortName "Iceweasel">
-<!ENTITY brandFullName "Iceweasel">
-<!ENTITY vendorShortName "Mozilla">
-<!ENTITY trademarkInfo.part1 " ">
-<!ENTITY trademarkInfo.part2 " ">
diff --git a/libre/iceweasel-l10n/brand.properties b/libre/iceweasel-l10n/brand.properties
deleted file mode 100644
index 53348f06b..000000000
--- a/libre/iceweasel-l10n/brand.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-brandShortName=Iceweasel
-brandFullName=Iceweasel
-vendorShortName=Mozilla