summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-08-21 19:59:13 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-08-21 19:59:13 -0300
commitc41f8dd15ab384ff60b26f1fa20df586ff90574f (patch)
treece4812b9c6d144a40eb1a9a7f9ec473043cc456d
parentb26281777078a3edcc05dcf13eab990bfd5d8d3e (diff)
parent3ed07838a0f0d3d0697cb95c7578d649adc0394c (diff)
libre/icecat-i18n-6.0-2
-rw-r--r--libre/icecat-i18n/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/libre/icecat-i18n/PKGBUILD b/libre/icecat-i18n/PKGBUILD
index b0860c0a1..36a55c0e6 100644
--- a/libre/icecat-i18n/PKGBUILD
+++ b/libre/icecat-i18n/PKGBUILD
@@ -2,6 +2,11 @@
# Contributor: Figue <ffigue@gmail.com>
# Based on firefox-i18n package
+# When updating to a newer upstream release:
+# - run the two commands below to get list of language packs
+# - change version in pkgver and _path
+# - replace md5sums with output of makepkg -g
+
# wget http://gnuzilla.gnu.org/download/langpacks/${pkgver}/
# echo $(egrep -o '[^>".]+\.xpi' index.html | sort -u | sed 's/\.xpi//')
_langpacks=(af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en-GB en-US en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk kn ko ku lg lt lv mai mk ml mr nb-NO nl nn-NO nso or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta-LK ta te th tr uk vi zh-CN zh-TW zu)
@@ -11,7 +16,7 @@ pkgname=($(for lang in ${_langpacks[@]}
do echo icecat-i18n-$lang | tr A-Z a-z
done))
pkgver=6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Language packs for IceCat"
arch=('any')
license=('MPL')
@@ -28,7 +33,7 @@ build() {
cd "${srcdir}"
}
-_path="/usr/lib/icecat-5.0/extensions/"
+_path="/usr/lib/icecat-6.0/extensions/"
for lang in ${_langpacks[@]}
do
@@ -36,6 +41,7 @@ do
install -Dm644 "'"$srcdir/$lang.xpi"'" "${pkgdir}'"${_path}langpack-$lang@firefox.mozilla.org.xpi"'"
}'
done
+
md5sums=('591c7337853eedb77b86dede0c5bdf54'
'2b0c067f8387fb582b419dfca57d422e'
'f3f6870d4b01bd64d80ac4de1db513f0'