summaryrefslogtreecommitdiff
path: root/libre/iceweasel-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-10 00:43:20 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-10 00:43:20 -0300
commit73f1a248e9a3ecb5d215f437d78acda6d1af452b (patch)
tree912f56722771306c70f508741e5db5c812de657f /libre/iceweasel-libre/PKGBUILD
parent18695365f6697a7b293ad3d58c54302a4d19a353 (diff)
iceweasel-libre-20.0.1-5: add new urls https://labs.parabola.nu/issues/326
Diffstat (limited to 'libre/iceweasel-libre/PKGBUILD')
-rw-r--r--libre/iceweasel-libre/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index c45a1f81f..969d851b7 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -22,7 +22,7 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
_pkgname=iceweasel
pkgname=iceweasel-libre
pkgver=$_debver.$_debrel
-pkgrel=4
+pkgrel=5
pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox."
arch=(i686 x86_64 mips64el)
@@ -61,7 +61,7 @@ md5sums=('22daa24b6490c654f131550cbf20fad3'
'abf5ecb74caa857abb42bcfbb3442d9c'
'0c26941504d3f2abed759221e9bb5de1'
'52e52f840a49eb1d14be1c0065b03a93'
- 'a8fc4658d45b6bf9350023e5c3f34e56'
+ '3bf8aefb861095caa45649c118163454'
'd0e1f2625cd9f7234abdeb55aee00529')
prepare() {
@@ -87,13 +87,13 @@ prepare() {
patch -Np1 -i "$srcdir/shared-libs.patch"
# Replace common URLs
- sed '/^#/d' ../replace-urls.txt | while read -r moz_url gnu_url; do
+ sed '/^#/d' ../replace-urls.txt | while read -r moz_url free_url; do
if [[ -n $moz_url ]]; then
- printf 'liberating: %s -> %s\n' "$moz_url" "$gnu_url"
+ printf 'liberating: %s -> %s\n' "$moz_url" "$free_url"
grep -Erl "${moz_url}" \
--exclude='*.'{patch,orig,rej} \
--exclude-dir={.pc,test,tests,testing} \
- | xargs -d '\n' --no-run-if-empty sed -ri "s<${moz_url}<${gnu_url}<g"
+ | xargs -d '\n' --no-run-if-empty sed -ri "s<${moz_url}<${free_url}<g"
fi
done