You are not logged in.

#1 2010-05-24 13:41:59

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

[SOLVED] firefox-gnome-keyring - where is nsILoginManager.h

I try to make firefox-gnome-keyring extension pkgbuild - because it is only in github, not in firefox extensions website. Unfortunately i have some problems with libxul. Could someone help me with this ?

# Maintainer: Michal Gawronski <dinth1906@gmail.com>
pkgname='firefox-extension-gnome-keyring-git'
pkgver=20100524
pkgrel=1
pkgdesc="Gnome-keyring integration for Firefox"
arch=('i686' 'x86_64')
url='http://github.com/mdlavin/firefox-gnome-keyring'
license=('GPL')
depends=('firefox>=3.6')
makedepends=('git')
optdepends=()
provides=('firefox-extension-gnome-keyring')
conflicts=()
source=()
_gitroot="git://github.com/nougad/firefox-gnome-keyring.git"
_gitname="firefox-gnome-keyring"

build()
{
    cd ${srcdir}/

    msg "Connecting to the GIT server...."
    if [[ -d ${srcdir}/${_gitname} ]] ; then
        cd ${_gitname}
        git pull origin
        msg "The local files are updated..."
    else
        git clone ${_gitroot}
    fi
    
    msg "GIT checkout done."

    msg "Starting make for: ${pkgname}"
    
    if [[ -d ${srcdir}/${_gitname}-build ]]; then
       msg "Cleaning the previous build directory..." 
       rm -rf ${srcdir}/${_gitname}-build
    fi

    git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
   

    cd ${srcdir}/${_gitname}-build
    
    make || return 1

    mkdir -p ${pkgdir}/usr/lib/firefox-3.6/extensions
    unzip ${srcdir}/${_gitname}-build/FirefoxNotify*.xpi -d ${pkgdir}/usr/lib/firefox-3.6/extensions/firefoxnotify@abhishek.mukherjee


    msg "If you'd prefer the package in xpi format, it can be found in the following directory"
    msg2 "${srcdir}/${_gitname}/"


}

Last edited by Dinth (2010-06-24 10:45:18)

Offline

#2 2010-06-24 06:31:29

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: [SOLVED] firefox-gnome-keyring - where is nsILoginManager.h

Solved

Last edited by Dinth (2010-06-24 10:44:59)

Offline

Board footer

Powered by FluxBB