You are not logged in.

#1 2004-12-19 20:16:26

poetofnumbers
Member
From: Kansas, United States
Registered: 2004-10-30
Posts: 106
Website

[network :: browsers] mozilla suite 1.7.5

mozilla-1.7.5 PKGBUILD:

pkgname=mozilla
pkgver=1.7.5
pkgrel=1
pkgdesc="The Mozilla Web Browser"
depends=('gtk2' 'libidl2' 'gcc')
makedepends=('zip')
install=mozilla.install
conflicts=(mozilla-lib mozilla-include)
url=('http://www.mozilla.org/')
source=(http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$pkgver/source/$pkgname-source-$pkgver.tar.bz2 
        mozconfig 
        mozilla.install 
    mozilla.run)
md5sums=('e5994f3e801cd834966367c6a12f8aeb' '7817232a039fe3eba3421a729596d707'
         '982a2fe672f7def82a908edc0ebcebf9' '1b57109253a0a4e14095c7a6e8594f69')

build() {
    cd $startdir/src/$pkgname
    sed "s@#CFLAGS#@$CFLAGS@g" $startdir/src/mozconfig >.mozconfig
    export MOZILLA_OFFICIAL=1
    export BUILD_OFFICIAL=1

    make -f client.mk build || return 1
    mkdir -p $startdir/pkg/usr/bin $startdir/pkg/opt/mozilla
    make DESTDIR=$startdir/pkg install

    install -D -m755 $startdir/src/mozilla.run $startdir/pkg/usr/bin/mozilla

    cd $startdir/pkg/opt/mozilla/lib && ln -sf mozilla-$pkgver mozilla
    cd $startdir/pkg/opt/mozilla/include && ln -sf mozilla-$pkgver mozilla
}

No real changes to the old PKGBUILD file, except for the updated version number and the location for the source changed slightly.  The other files can be found in the cvs of the old mozilla (1.7.3) package.  The package is running fine for me so far.


Sweet, now I can play with myself.

Offline

Board footer

Powered by FluxBB