summaryrefslogtreecommitdiff
path: root/mozilla-testing/iceweasel/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-12-31 23:02:48 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-12-31 23:02:48 +0100
commit6018f318724745ea2800c629d0db77f19ecbd02b (patch)
tree6c57a138047bb35ac0753554f4ea855d56f9e333 /mozilla-testing/iceweasel/PKGBUILD
parent4f85ee8cc53396a283d492bb29ee2d0696c0b821 (diff)
parent007fa4a3de674cd44c9b4609d8567facc307de51 (diff)
downloadabslibre-6018f318724745ea2800c629d0db77f19ecbd02b.tar.gz
abslibre-6018f318724745ea2800c629d0db77f19ecbd02b.tar.bz2
abslibre-6018f318724745ea2800c629d0db77f19ecbd02b.zip
Merge branch 'master' of git+ssh://parabola-git/abslibre
Diffstat (limited to 'mozilla-testing/iceweasel/PKGBUILD')
-rw-r--r--mozilla-testing/iceweasel/PKGBUILD135
1 files changed, 0 insertions, 135 deletions
diff --git a/mozilla-testing/iceweasel/PKGBUILD b/mozilla-testing/iceweasel/PKGBUILD
deleted file mode 100644
index 992476d43..000000000
--- a/mozilla-testing/iceweasel/PKGBUILD
+++ /dev/null
@@ -1,135 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Contributor: Henry Jensen <hjensen@connochaetos.org>
-
-# We're getting this from Debian Sid
-_debname=iceweasel
-_debver=9.0.1
-_debrel=1
-_debrepo=http://ftp.debian.org/debian/pool/main/
-debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
-
-_pkgname=iceweasel
-pkgname=iceweasel
-_pkgver=9.0
-pkgver=${_debver}.${_debrel}
-pkgrel=1
-
-pkgdesc="A libre version of Debian Iceweasel, the browser based on Mozilla Firefox."
-arch=('i586' 'i686' 'x86_64' 'mips64el')
-url="http://www.geticeweasel.org/"
-license=('GPL2' 'MPL' 'LGPL')
-depends=(
- 'alsa-lib'
- 'dbus-glib'
- 'desktop-file-utils'
- 'gtk2'
- 'hicolor-icon-theme'
- 'hunspell'
- 'libevent'
- 'libnotify'
- 'libvpx'
- 'libxt'
- 'mime-types'
- 'mozilla-common'
- 'mozilla-searchplugins'
- 'nss'
- 'sqlite3'
- 'startup-notification'
-)
-makedepends=(
- 'autoconf2.13'
- 'diffutils'
- 'libidl2'
- 'mesa'
- 'p7zip-libre'
- 'pkg-config'
- 'python2'
- 'quilt'
- 'wireless_tools'
- 'yasm'
- 'zip'
-)
-options=(!buildflags !distcc)
-install=iceweasel.install
-source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.debian.tar.gz"
- mozconfig
- libre.patch
- # Default configuration
- mozilla-firefox-1.0-lang.patch
- xulrunner-copy-stub.patch
- region.properties)
-
-build() {
- msg2 "Applying Debian patches..."
- cd "${srcdir}"
- # This will simulate dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
- export QUILT_PATCHES=debian/patches
- export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
- export QUILT_DIFF_ARGS='--no-timestamps'
- mv mozilla-release "${_debname}-${_debver}"
- mv debian "${_debname}-${_debver}"
- cd "${_debname}-${_debver}"
- quilt push -a
- find .pc -name .timestamp -delete # why isn't --no-timestamps doing this?
-
- # This will make life more sane
- cd "${srcdir}"
- ln -s "${_debname}-${_debver}" "${_pkgname}-${pkgver}"
-
- msg2 "Starting normal build..."
- cd "${srcdir}/${_pkgname}-${pkgver}/"
- patch -p1 -i "${srcdir}/mozilla-firefox-1.0-lang.patch"
- patch -p1 -i "${srcdir}/xulrunner-copy-stub.patch"
- patch -p1 -i "${srcdir}/libre.patch"
-
- cp --remove-destination ${srcdir}/region.properties ./browser/locales/en-US/chrome/browser-region/
-
- msg2 "Starting build..."
-
- cp "${srcdir}/mozconfig" .mozconfig
- #make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
- ./configure
- #touch config*
- make MOZ_MAKE_FLAGS="${MAKEFLAGS}"
-
- msg2 "Build complete"
-}
-
-package() {
-
- cd "${srcdir}/${_pkgname}-${pkgver}/"
- #make -j1 -f client.mk DESTDIR="${pkgdir}" install
- make install DESTDIR="${pkgdir}"
-
- msg2 "Finishing..."
-
- install -m755 -d ${pkgdir}/usr/share/applications
- install -m755 -d ${pkgdir}/usr/share/pixmaps
- install -m755 -d ${pkgdir}/usr/share/icons/hicolor/16x16/apps
- install -m755 -d ${pkgdir}/usr/share/icons/hicolor/32x32/apps
- install -m755 -d ${pkgdir}/usr/share/icons/hicolor/64x64/apps
- install -m755 -d ${pkgdir}/usr/share/icons/hicolor/scalable/apps
-
- install -m644 ${srcdir}/${_pkgname}-${pkgver}/debian/iceweasel.desktop ${pkgdir}/usr/share/applications/ || return 1
- install -m644 ${srcdir}/${_pkgname}-${pkgver}/debian/branding/default16.png ${pkgdir}/usr/share/icons/hicolor/16x16/apps/iceweasel.png
- install -m644 ${srcdir}/${_pkgname}-${pkgver}/debian/branding/default32.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/iceweasel.png
- install -m644 ${srcdir}/${_pkgname}-${pkgver}/debian/branding/default64.png ${pkgdir}/usr/share/icons/hicolor/64x64/apps/iceweasel.png
- install -m644 ${srcdir}/${_pkgname}-${pkgver}/debian/branding/iceweasel_icon.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/iceweasel.svg
-
-
- rm -rf ${pkgdir}/usr/lib/${_pkgname}-${_pkgver}/searchplugins
- ln -sf /usr/lib/mozilla/searchplugins ${pkgdir}/usr/lib/${_pkgname}-${_pkgver}/searchplugins
-
- rm -rvf ${pkgdir}/usr/lib/iceweasel-devel-${_pkgver}
- rm -rvf ${pkgdir}/usr/include
-
-}
-
-md5sums=('bd656a24d0ba3d4ca7b68aca8081a07d'
- '6cde9fe38df1434fdcc0f3a078b0238e'
- '5e2574eef71ee1437e2f8e7481c67893'
- '9609e77182cc300e3fe9d4b0c7e7efb4'
- 'bd5db57c23c72a02a489592644f18995'
- 'a485a2b5dc544a8a2bd40c985d2e5813'
- 'f1c76e7e244257856a386ca2de69bdf0')