summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-25 23:17:53 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-25 23:17:53 -0300
commit30668a639866ad8afba12ee45b51f82fa757c30c (patch)
treed08431133f8bbea463b5e7632328500b2eee2bcc
parentb6a456b822136c9b194a22e0995eeff294bfbe27 (diff)
icedove-libre: adding some details
-rw-r--r--libre-testing/icedove-libre/PKGBUILD5
-rw-r--r--libre-testing/icedove-libre/makefile.patch11
2 files changed, 16 insertions, 0 deletions
diff --git a/libre-testing/icedove-libre/PKGBUILD b/libre-testing/icedove-libre/PKGBUILD
index de86019a3..ed9644ea8 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,6 +27,7 @@ source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2"
mozconfig
channel-prefs.js
vendor.js
+ makefile.patch
gcc47.patch)
md5sums=('3efe2ef4d5471aae3b79531ce8aee9dc'
'cb3dba2916bdf2deb72248b0984c4302'
@@ -33,6 +35,7 @@ md5sums=('3efe2ef4d5471aae3b79531ce8aee9dc'
'76e01cfd6de4d4289265882774d1ba7d'
'476ec205162340fb0679f522c9d31c3b'
'4eecc4fc5aafaf0da651a09eadc90bee'
+ '5a6282bb005d596aa4ab1884ac6b0517'
'66376a8e934013078f0e646e49614937')
build() {
@@ -50,6 +53,7 @@ build() {
cp "$srcdir/mozconfig" .mozconfig
patch -Np1 -i "$srcdir/gcc47.patch"
+ patch -Np1 -i "$srcdir/makefile.patch"
rm "$srcdir"/mozilla-build/mail/locales/en-US/searchplugins/{amazondotcom,aol-web-search,bing,twitter,yahoo}.xml
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
@@ -70,5 +74,6 @@ package() {
rm -rf "$pkgdir"/usr/lib/$_pkgname/{dictionaries,hyphenation}
ln -sf /usr/share/hunspell "$pkgdir/usr/lib/$_pkgname/dictionaries"
ln -sf /usr/share/hyphen "$pkgdir/usr/lib/$_pkgname/hyphenation"
+ ln -sf $_pkgname /usr/lib/$_pkgname/$_pkgname usr/bin/$_pkgname
rm -r "$pkgdir"/usr/{include,lib/$_pkgname-devel,share/idl} # We don't want the development stuff
}
diff --git a/libre-testing/icedove-libre/makefile.patch b/libre-testing/icedove-libre/makefile.patch
new file mode 100644
index 000000000..284ca68c2
--- /dev/null
+++ b/libre-testing/icedove-libre/makefile.patch
@@ -0,0 +1,11 @@
+--- mozilla-build/debian/icedove-branding/Makefile.in 2012-04-05 06:50:17.708640714 -0300
++++ mozilla-build/debian/icedove-branding/Makefile.in 2012-04-05 06:50:41.902614597 -0300
+@@ -38,7 +38,7 @@
+ # Branding Makefile for Icedove branding
+
+ DEPTH = ../../..
+-topsrcdir = ../../../
++topsrcdir = ../../
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+