Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

firefox 12 beta - BE

  • Loading branch information...
commit 4a9c794f101f8cb500859e7e6759395e4227a9cc 1 parent e384e75
Gcool authored
Showing with 29 additions and 0 deletions.
  1. +29 −0 firefox-beta/PKGBUILD
29 firefox-beta/PKGBUILD
View
@@ -0,0 +1,29 @@
+pkgname=firefox-beta-be
+pkgver=12.0b2
+pkgrel=1
+pkgdesc='Standalone web browser from mozilla.org, beta.'
+url='http://www.mozilla.com/en-US/firefox/'
+arch=('i686' 'x86_64')
+depends=('gtk2' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
+license=('MPL' 'GPL' 'LGPL')
+source=("ftp://ftp.mozilla.org/pub/firefox/releases/${pkgver}/linux-${CARCH}/be/firefox-${pkgver}.tar.bz2"
+ "$pkgname.desktop"
+ "$pkgname-safe.desktop")
+
+sha1sums=('db48692bf39f6bbaa9a8aee415784fde2dce04d5'
+'dd2afa6a6369b9c6ca549152d2df46794b3b385d'
+'30990dafa5bea211ea2b84dadb56ac68324f48a3')
+
+[[ "$CARCH" == "x86_64" ]] &&
+sha1sums[0]="aa3b7356adc716860a2ac9a990f1978fde395fb4"
+
+build() {
+ cd "${srcdir}"
+
+ mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
+ cp -r firefox "${pkgdir}"/opt/${pkgname}-${pkgver}
+
+ ln -s /opt/${pkgname}-${pkgver}/firefox "${pkgdir}"/usr/bin/${pkgname}
+ install -m644 "${srcdir}"/{${pkgname}.desktop,${pkgname}-safe.desktop} "${pkgdir}"/usr/share/applications/
+ install -m644 "${srcdir}"/firefox/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/${pkgname}-icon.png
+}
Please sign in to comment.
Something went wrong with that request. Please try again.