updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / firefox-beta-bin / PKGBUILD
blob0f7790a5e099f579d22f4c3ab81bebeb1b629152
1 # Contributor: speed145a <speed145a(at)hotmail(dot)com>
2 # Contributor: Schnouki
3 # Maintainer : Axilleas P <axilleas@archlinux.gr>
5 pkgname=firefox-beta-bin
6 pkgver=10.0b6
7 pkgrel=1
8 pkgdesc='Standalone web browser from mozilla.org, beta build binaries.'
9 url='http://www.mozilla.com/en-US/firefox/fx/'
10 arch=('i686' 'x86_64')
11 depends=('gtk2' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
12 license=('MPL' 'GPL' 'LGPL')
13 source=("ftp://ftp.mozilla.org/pub/firefox/releases/${pkgver}/linux-${CARCH}/en-US/firefox-${pkgver}.tar.bz2"
14         "$pkgname.desktop" 
15         "$pkgname-safe.desktop")
17 sha1sums=('b7d133b1e3405e6f2841827e264fbb20674eff7c'
18 'dd2afa6a6369b9c6ca549152d2df46794b3b385d'
19 '30990dafa5bea211ea2b84dadb56ac68324f48a3')
21 [[ "$CARCH" == "i686" ]] && sha1sums[0]="fc4900403a61534711c8a67f72cd54e84c071e14"
24 build() {
25         cd "${srcdir}"
26         
27         mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
28         cp -r firefox "${pkgdir}"/opt/${pkgname}-${pkgver}
30         ln -s /opt/${pkgname}-${pkgver}/firefox "${pkgdir}"/usr/bin/${pkgname}
31         install -m644 "${srcdir}"/{${pkgname}.desktop,${pkgname}-safe.desktop} "${pkgdir}"/usr/share/applications/
32         install -m644 "${srcdir}"/firefox/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/${pkgname}-icon.png