You are not logged in.

#1 2010-06-30 15:09:33

FarmerF
Member
From: Netherlands
Registered: 2009-06-08
Posts: 76

Firefox 4 beta

Wanted to try the HTML5 functions with youtube so I ended up making a PKGBUILD based on firefox-beta in AUR (http://aur.archlinux.org/packages.php?ID=22244). Posted here for any that are interested.

I ran into problem with the arch settings, it downloaded the i686 when both arch's where given. If you run on i686 change the arch and md5 lines to the commented version and it should work. Any insights on this are appreciated.

arch=('x86_64')
#arch=('i686')
depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
license=('MPL' 'GPL' 'LGPL')
pkgname=firefox-beta
pkgdesc='Standalone web browser from mozilla.org, beta build - binaries.'
url='http://www.mozilla.org/projects/firefox'
pkgver=4.0b2pre
pkgrel=1
md5sums=('1a18fdc25690cef3b243928a52ac490b')
#md5sums=('b43c528fcfd705d81db5716605c7e0dd')

source=(ftp://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$pkgver.en-US.linux-$arch.tar.bz2)

build() {
    cd $srcdir
#    uncomment this line to remove them if you want
#    rm -rf $_pkgname/{extensions,plugins,searchplugins} || return 1
    
    mkdir -p $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt} || return 1
    cp -r firefox $pkgdir/opt/$pkgname-$pkgver || return 1

    ln -s /opt/$pkgname-$pkgver/firefox $pkgdir/usr/bin/$pkgname || return 1
    install -m644 $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/${pkgname}-icon.png || return 1
}

Offline

#2 2010-06-30 17:00:35

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: Firefox 4 beta

You can use firefox-nightly that i think will be updated in a few hours smile

(or simply change the pkgver in 4.0b2pre)


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#3 2010-06-30 17:03:16

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: Firefox 4 beta

FarmerF wrote:

I ran into problem with the arch settings, it downloaded the i686 when both arch's where given.

That's why you usually use $CARCH here.

arch=('i686' 'x86_64')
...
source=(ftp://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$pkgver.en-US.linux-$CARCH.tar.bz2)
md5sums=('b43c528fcfd705d81db5716605c7e0dd')

[[ $CARCH = x86_64 ]] && md5sums=('1a18fdc25690cef3b243928a52ac490b')

Offline

#4 2010-07-03 06:11:36

FarmerF
Member
From: Netherlands
Registered: 2009-06-08
Posts: 76

Re: Firefox 4 beta

You can use firefox-nightly

Right... somehow I missed that package >.<nah well never hurts to play around with PKGBUILD's smile

That's why you usually use $CARCH here.

Thanks, didnt know about that one.

Offline

Board footer

Powered by FluxBB