From 4e1091baf58d4d28f6bf3cc4fee8ea0bfd10a7a8 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 18 May 2013 02:14:12 -0700 Subject: Sat May 18 02:12:59 PDT 2013 --- libre/icedove-libre/PKGBUILD | 17 ++--------------- libre/icedove-libre/replace-urls.txt | 7 ++++++- libre/icedove-libre/vendor.js | 15 +++++++++++++++ libre/iceweasel-libre/PKGBUILD | 11 +++++++---- 4 files changed, 30 insertions(+), 20 deletions(-) (limited to 'libre') diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD index c1fb0c776..9ff811c5a 100644 --- a/libre/icedove-libre/PKGBUILD +++ b/libre/icedove-libre/PKGBUILD @@ -11,7 +11,7 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=${_debname} pkgname=${_debname}-libre pkgver=${_debver}.${_debrel} -pkgrel=3 +pkgrel=4 pkgdesc="A libre version of Debian Icedove, the standalone mail/news reader based on Mozilla Thunderbird." arch=('i686' 'x86_64' 'mips64el') license=('MPL' 'GPL' 'LGPL') @@ -26,7 +26,6 @@ install=${_pkgname}.install source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2" "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.debian.tar.gz" mozconfig - replace-urls.txt vendor.js makefile.patch branding.patch @@ -36,8 +35,7 @@ options=(!emptydirs) md5sums=('0c68298c17757257da79b6bb39e3fd10' 'eb2a5e1877d87a16e10388f533c081a6' '5cf95ea94f69cdd36604890cfbf7b954' - '3bf8aefb861095caa45649c118163454' - '4eecc4fc5aafaf0da651a09eadc90bee' + 'da090618f0d207d4f603a07b7b36dbe9' 'c4ed43e85945e180a89cce03e45ec62c' '126b1446212396c33220936c01d9592d' 'e785e0c267f4435ae1a9aa0b03bcacfb' @@ -72,17 +70,6 @@ prepare() { patch -Np1 -i "${srcdir}/branding.patch" # fixing branding patch -Np1 -i "${srcdir}/Icedove-branding.patch" # debian patch fixed version - # Replace common URLs - 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" "$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}<${free_url}