1 # Maintainer: Michal Gawronski <dinth1906@gmail.com>
2 pkgname='firefox-extension-gnome-keyring-git'
5 pkgdesc="Gnome-keyring integration for Firefox"
7 url='http://github.com/nougad/firefox-gnome-keyring'
9 depends=('firefox>=3.6')
10 makedepends=('git' 'zip' 'unzip')
12 provides=('firefox-extension-gnome-keyring')
14 source=(makefile.patch)
15 md5sums=('2c3c4a7c864019037a697366ceb3918f')
16 _gitroot="git://github.com/nougad/firefox-gnome-keyring.git"
17 _gitname="firefox-gnome-keyring"
23 msg "Connecting to the GIT server...."
24 if [[ -d ${srcdir}/${_gitname} ]] ; then
27 msg "The local files are updated..."
32 msg "GIT checkout done."
34 msg "Starting make for: ${pkgname}"
36 if [[ -d ${srcdir}/${_gitname}-build ]]; then
37 msg "Cleaning the previous build directory..."
38 rm -rf ${srcdir}/${_gitname}-build
41 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
44 cd ${srcdir}/${_gitname}-build
45 patch -p1 < ../makefile.patch
48 mkdir -p ${pkgdir}/usr/lib/firefox-3.6/extensions
49 unzip ${srcdir}/${_gitname}-build/gnome-keyring_password_integration-0.3.xpi -d ${pkgdir}/usr/lib/firefox-3.6/extensions/{6f9d85e0-794d-11dd-ad8b-0800200c9a66}
52 msg "If you'd prefer the package in xpi format, it can be found in the following directory"
53 msg2 "${srcdir}/${_gitname}/"