diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /libre/icedove-l10n/PKGBUILD | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'libre/icedove-l10n/PKGBUILD')
-rw-r--r-- | libre/icedove-l10n/PKGBUILD | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD new file mode 100644 index 000000000..92b0cfff0 --- /dev/null +++ b/libre/icedove-l10n/PKGBUILD @@ -0,0 +1,115 @@ +# Maintainer: André Silva <emulatorman@parabola.nu> +# Contributor: Márcio Silva <coadde@parabola.nu> + +_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) + +pkgbase=icedove-l10n +pkgname=( + $(for lang in ${_langpacks[@]}; do + echo $pkgbase-$lang | tr A-Z a-z + done) +) +epoch=1 +_pkgver=24.3.0 +pkgver=24.3.0.deb1 +pkgrel=1 + +pkgdesc="Language packs for Debian Icedove." +arch=('any') +_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$_pkgver/linux-i686/xpi +url="http://packages.debian.org/sid/icedove" +license=('MPL' 'GPL') +depends=("icedove-libre>=$epoch:$pkgver") +makedepends=('unzip' 'zip') +source=('brand.dtd' 'brand.properties') +for lang in ${_langpacks[@]}; do + source+=("icedove-l10n-$_pkgver-$lang.xpi::$_url/$lang.xpi") +done +noextract=(${source[@]##*/}) + +_path=usr/lib/icedove/extensions + +prepare() { + cd $srcdir + for lang in ${_langpacks[@]}; do + unzip -q icedove-l10n-$_pkgver-$lang.xpi -d $lang + rm icedove-l10n-$_pkgver-$lang.xpi + install -Dm644 $srcdir/brand.dtd $lang/chrome/$lang/locale/$lang/branding + install -Dm644 $srcdir/brand.properties $lang/chrome/$lang/locale/$lang/branding + sed -i -e 's/thunderbird/icedove/' $lang/install.rdf + cd $lang + zip -q -r langpack-$lang@icedove.mozilla.org.xpi . + mv langpack-$lang@icedove.mozilla.org.xpi $srcdir + cd .. + rm -r $lang + done +} + +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' + '305fb4a11d119e1dffc8db00d8415447' + '6c970218d71fe3f2b2c080495c627dcf' + '5a791b03e66024e4590e90ea21c8072c' + '6d2bf5155653fc524e9eeffebb67fd1f' + '454d22e0cfffbf890249c344a0bfb3ed' + 'a613a5f928a86933c0dc4aa1ee83cabf' + '5d45b8aa1707ec42927118a42a64a901' + 'a4eeee3b77fb6c7d8185bb28986eeb2e' + 'abda1c12b400d0735944b2d1254135c5' + '0eb3e249f5950feebdfbe3abca393b9f' + '710dd329680a9ec523edc0976ee023c0' + 'a73a4bc3af9d42c793f453ade7ed7f47' + '0f67df0895150db4d117c3f8b2307bd2' + 'c37a4c222729ce7c2f37d695f037e7d9' + 'd372395a17630f7b0908456e01d3f305' + 'fc9c760ae32fcc72e38d518020507f48' + '343607eb1e2f051434ea5c9516887577' + '30a0a1de457425cee3b07b09d2a20225' + 'd6a19837e6704b43839a2608d109ecd5' + '9e0ae78d37852e0f6157b41fbef0f7c7' + '34d7d58ec4b20a1f07094a0fcf57774d' + '3c4503fa49ea87f1e647ea0c6d09436b' + '041c1281e98b583750adeaa46096ae4c' + '0ca153732c0af2bbd93173c140cd17cb' + '0f64947d77b92966e907039e051201d8' + '3951156099cee856d5dce13a10da233e' + 'a56081b911b707ae56fb8760813e3854' + '2ece2346cc35164742d5af8d4e5869ac' + '1a1cd84af5d427afcf2d20d7fe1e621c' + 'e3ed8fd936efcd3d5579d98701c09f53' + '5465a2c427ed645e5edd7ba9fcfea4cf' + '5e73d9699c9b1c617e24035e6869dabb' + '2f1d0102b66f0eaebf0a2a8054a36e6b' + '7bbdcee9350ddcba95cc8f37ef8bc557' + '6ca42a1473532da9a1387e7c133764ea' + '70ecae7ef62b9c4c4f9f7d45ee3c623f' + '02aab1810bce9fc80bd1e8c15c27cabf' + 'd059f84aaad99f16fc7aff65caeeb1cb' + 'e9c008d932c72e3ba9d6b181972a831a' + 'c5800f343a193d55e9d699e3f49c0fa6' + 'a239fc033efd9dc1a85093cadadcacff' + '62664ace7c66c0893eb2957692082036' + '9cafc6676e4e50cf71c6fda3d498f31b' + '0b29a636819202ea03169188e866264c' + '1ca9be772729a3539265b51fbda680a8' + 'bac6196887859fc6a2144748038e90b8' + '9a1374760f1b29c73fcc472f4ab128ec' + 'c33852a9a55eeed9930289c1a9282ba8' + '64b89babcda06ce68308cefc38a38b41' + '94b791cb6afb33b8b9c734e7b191c27a' + 'e56035901013b616ee4c63a2b351ac40' + '09d4df4a554806e97f53f302a7c2301e' + 'ff52d0ddad0e00635b1e7612fb6372bd' + 'df80dc11119b8405a35ebf7735897783' + 'b0b0feef63479a6c3aad0cad6e27c72b') |