updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / enigmail-bin / PKGBUILD
blob8087777dc68d95438febbceef78a9e88fc26143e
1 # Maintainer: Michael Duell <mail@akurei.me> PGP-Key: 6EE23EBE
2 pkgname=enigmail-bin
3 _pkg_main_ver=1.3
4 pkgver=${_pkg_main_ver}.5
5 pkgrel=1
6 pkgdesc="The Mozilla Thunderbird GnuPG encryption plugin for both 32 and 64 bit systems. Binary version."
7 arch=('i686' 'x86_64')
8 url="http://www.mozilla-enigmail.org/"
9 license=('MPL')
10 _tb_min_ver="8.0"
11 depends=("thunderbird>=${_tb_min_ver}")
12 makedepends=('unzip')
13 provides=('enigmail')
14 conflicts=('enigmail' 'enigmail-cvs')
15 replaces=('enigmail-64-bin')
16 options=(!strip)
17 install='enigmail-bin.install'
18 source=(http://www.mozilla-enigmail.org/download/release/${_pkg_main_ver}/enigmail-${pkgver}-tb+sm.xpi)
19 noextract=(enigmail-${pkgver}-tb+sm.xpi)
21 build() {
22   cd "$srcdir/"
23   unzip -q *.xpi
24   _eid=$(grep "<em:id>" install.rdf | head -n 1 |cut -f 2 -d \>|cut -f 1 -d \<)
25   mkdir -p "${pkgdir}/usr/lib/thunderbird/extensions/"
26   unzip -q -d "${pkgdir}/usr/lib/thunderbird/extensions/${_eid}" *.xpi
30 # vim:set ts=2 sw=2 et:
31 sha512sums=('6268f500e51ab136cf149b431e2fb8fa7233e009ed0509366d8354ac8d41fc3db8ef26ccbaf671693c58d5b9904ca7d0066a8e31476c11b88af2d34630493386')