summaryrefslogtreecommitdiff
path: root/libre-testing/icedove-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-06 21:39:39 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-06 21:39:39 -0400
commit38dbfc58450f5064f8534435ccc7b4c005bbfa68 (patch)
tree829e9c277a024cf520db2b7bfaf7d5cb4fe5ba45 /libre-testing/icedove-libre/PKGBUILD
parente1f7b97ab1603aea664ee3f392f6263fd7812b3c (diff)
parentd48da3adb2e5eaab66403aa3f0fce2d78f3ecd12 (diff)
downloadabslibre-38dbfc58450f5064f8534435ccc7b4c005bbfa68.tar.gz
abslibre-38dbfc58450f5064f8534435ccc7b4c005bbfa68.tar.bz2
abslibre-38dbfc58450f5064f8534435ccc7b4c005bbfa68.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre-testing/icedove-libre/PKGBUILD')
-rw-r--r--libre-testing/icedove-libre/PKGBUILD23
1 files changed, 18 insertions, 5 deletions
diff --git a/libre-testing/icedove-libre/PKGBUILD b/libre-testing/icedove-libre/PKGBUILD
index de86019a3..9beba51a8 100644
--- a/libre-testing/icedove-libre/PKGBUILD
+++ b/libre-testing/icedove-libre/PKGBUILD
@@ -1,5 +1,6 @@
# Maintainer : Márcio Silva <coadde@adinet.com.uy>
# Maintainer : André Silva <andre.paulista@adinet.com.uy>
+# Contributor: Esteban V. Carnevale <evcarnevale@gmail.com>
# We're getting this from Debian Sid
_debname=icedove
@@ -26,14 +27,20 @@ source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2"
mozconfig
channel-prefs.js
vendor.js
- gcc47.patch)
+ makefile.patch
+ gcc47.patch
+ rules.patch
+ searchplugins-libre.patch)
md5sums=('3efe2ef4d5471aae3b79531ce8aee9dc'
'cb3dba2916bdf2deb72248b0984c4302'
'57e21e997a75d85fcc0dcfe30b83f1ee'
'76e01cfd6de4d4289265882774d1ba7d'
'476ec205162340fb0679f522c9d31c3b'
'4eecc4fc5aafaf0da651a09eadc90bee'
- '66376a8e934013078f0e646e49614937')
+ '5a6282bb005d596aa4ab1884ac6b0517'
+ '66376a8e934013078f0e646e49614937'
+ '2e6a57dc04b4a7255f5f1f3642af23ac'
+ '8f6d5be227bb68e1558dd6674cbba446')
build() {
export QUILT_PATCHES=debian/patches
@@ -50,7 +57,11 @@ build() {
cp "$srcdir/mozconfig" .mozconfig
patch -Np1 -i "$srcdir/gcc47.patch"
- rm "$srcdir"/mozilla-build/mail/locales/en-US/searchplugins/{amazondotcom,aol-web-search,bing,twitter,yahoo}.xml
+ patch -Np1 -i "$srcdir/makefile.patch"
+ patch -Np1 -i "$srcdir/rules.patch"
+
+ # Removing non-free search plugins replacing them with duckduckgo and identi.ca
+ patch -Np0 -i "$srcdir/searchplugins-libre.patch"
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
}
@@ -63,9 +74,11 @@ package() {
install -m644 "$srcdir/channel-prefs.js" "$pkgdir/usr/lib/$_pkgname/defaults/pref" # Recommend free addons
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
- install -Dm644 "$debian/app-icons/$_pkgname${i/x*/}.png" "/usr/share/icons/hicolor/$i/apps/$_pkgname.png"
+ install -Dm644 debian/app-icons/$_pkgname${i/x*/}.png \
+ "$pkgdir/usr/share/icons/hicolor/$i/apps/$_pkgname.png"
+ install -Dm644 debian/app-icons/icedovebig.svg \
+ "$pkgdir/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg"
done
- install -Dm644 "$debian/app-icons/$_pkgname_icon.svg" "/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg"
rm -rf "$pkgdir"/usr/lib/$_pkgname/{dictionaries,hyphenation}
ln -sf /usr/share/hunspell "$pkgdir/usr/lib/$_pkgname/dictionaries"