1 # Contributor: twa022 <twa022 at gmail dot com>
3 pkgname=thunderbird-extension-evolution-mirror
6 pkgdesc="Mirrors calendars to Evolution Database Server to allow them to be viewed through the gnome clock applet"
8 url="https://addons.mozilla.org/af/thunderbird/addon/evolution-mirror/"
10 depends=('thunderbird<3.2a1pre' 'python-evolution')
11 source=("https://static.addons.mozilla.net/_files/_attachments/9656/evolution_mirror-${pkgver}-sb+tb-linux.xpi")
12 noextract=(evolution_mirror-${pkgver}-sb+tb-linux.xpi)
14 _id='{531b5d09-9f8e-452b-8681-2fc03c9c150e}'
18 mkdir -p "$pkgdir"/usr/lib/thunderbird-3.1/extensions/${_id}
19 unzip evolution_mirror-${pkgver}-sb+tb-linux.xpi -d "$pkgdir"/usr/lib/thunderbird-3.1/extensions/${_id}
20 sed -i 's:/usr/bin/env python:&2:' "$pkgdir"/usr/lib/thunderbird-3.1/extensions/${_id}/chrome/content/*py
24 md5sums=('430ab1740c40a84ef147fb7c270fc45e')