summaryrefslogtreecommitdiff
path: root/libre/icecat/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-05-03 19:25:53 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-05-03 19:25:53 -0300
commit8bf31c28c4edcdcfe1f4e2acfea8d399e89be9c8 (patch)
tree0ebc128227a306b9660ea0ae89f8bde56690c16e /libre/icecat/PKGBUILD
parent590504496b0882af538a30130721a8336e38f949 (diff)
icecat-4.0.1-1
Diffstat (limited to 'libre/icecat/PKGBUILD')
-rw-r--r--libre/icecat/PKGBUILD36
1 files changed, 16 insertions, 20 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index cc408f55f..b2af0eaf1 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -19,22 +19,20 @@
# * Disabled ContentHandlers and other Google/Yahoo! related services
pkgname=icecat
-pkgver=4.0
-_pkgver=4.0
+pkgver=4.0.1
pkgrel=1
-_xulver=2.0
+_xulver=2.0.1
pkgdesc="GNU version of the Firefox browser. SafeBrowsing and other Google services disabled!"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gnuzilla/"
license=('GPL2' 'MPL' 'LGPL')
depends=("xulrunner=${_xulver}" 'desktop-file-utils')
makedepends=('zip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' 'yasm' 'mesa')
provides=('firefox')
conflicts=('firefox')
-replaces=("firefox=${_pkgver}")
+replaces=("firefox=${pkgver}")
install=icecat.install
-#source=(http://ftp.gnu.org/gnu/gnuzilla/${pkgver}/${pkgname}-${pkgver}.tar.xz
-source=(ftp://ftp.gnu.org/gnu/gnuzilla/${_pkgver}/${pkgname}-${_pkgver}.tar.bz2
+source=(http://ftp.gnu.org/gnu/gnuzilla/${pkgver}/${pkgname}-${pkgver}.tar.xz
mozconfig
icecat.desktop
icecat-safe.desktop
@@ -50,15 +48,15 @@ source=(ftp://ftp.gnu.org/gnu/gnuzilla/${_pkgver}/${pkgname}-${_pkgver}.tar.bz2
duck-duck-go-ssl.xml
duck-duck-go-lite.xml
# Default options
- firefox.js
+ firefox.js
region.properties)
build() {
- ICECATDIR="/usr/lib/${pkgname}-4.0" && export ICECATDIR
+ ICECATDIR="/usr/lib/${pkgname}-${pkgver}" && export ICECATDIR
msg2 "Patching some files..."
- cd "${srcdir}/${pkgname}-${_pkgver}/"
+ cd "${srcdir}/${pkgname}-${pkgver}/"
patch -Np1 -i "${srcdir}/mozilla-firefox-1.0-lang.patch"
patch -Np0 -i "${srcdir}/xulrunner-copy-stub.patch"
@@ -72,37 +70,35 @@ build() {
export LDFLAGS="-Wl,-rpath,${ICECATDIR}"
- #make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
./configure
-
- touch config*
-
make MOZ_MAKE_FLAGS="${MAKEFLAGS}"
msg2 "Build complete"
+
}
package() {
- ICECATDIR="/usr/lib/${pkgname}-4.0" && export ICECATDIR
+ ICECATDIR="/usr/lib/${pkgname}-${pkgver}" && export ICECATDIR
- cd "${srcdir}/${pkgname}-${_pkgver}/"
- #make -j1 -f client.mk DESTDIR="${pkgdir}" install
+ cd "${srcdir}/${pkgname}-${pkgver}/"
make install DESTDIR="${pkgdir}"
msg2 "Finishing..."
-
install -m755 -d ${pkgdir}/usr/share/applications
install -m755 -d ${pkgdir}/usr/share/pixmaps
- install -m644 ${srcdir}/${pkgname}-${_pkgver}/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/icecat.png
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/icecat.png
install -m644 ${srcdir}/icecat.desktop ${pkgdir}/usr/share/applications/
install -m644 ${srcdir}/icecat-safe.desktop ${pkgdir}/usr/share/applications/
+ cd ${pkgdir}/usr/lib
+ ln -s ${ICECATDIR} icecat
+
msg2 "Removing proprietary and anti-privacy search engines"
rm -f ${pkgdir}${ICECATDIR}/searchplugins/{google,answers,amazondotcom,eBay,yahoo,bing}.xml
msg2 "And provide better ones..."
install -m755 -d ${pkgdir}${ICECATDIR}/searchplugins/
install -m644 ${srcdir}/*.xml ${pkgdir}${ICECATDIR}/searchplugins/
}
-md5sums=('6d7031ecdcf8edb214aaa3fbb1d3fe33'
+md5sums=('1b4d44ee5badc28fd332cba564ecde0a'
'436db1f6167ffe82fcd71a53ffd80d0e'
'e81ad01dbc16ba28bf92ba4b7c309ca7'
'd93fe402b87cd000a869e1fd6badc6c9'