1 # Maintainer: Michael Duell <akurei@luamail.net>
2 pkgname=enigmail-64-bin
4 pkgver=${_pkg_main_ver}
6 pkgdesc="The Mozilla Thunderbird GnuPG encryption plugin for 64-bit systems. Binary version."
8 url="http://www.mozilla-enigmail.org/"
11 depends=('thunderbird>=${_tb_min_ver}' 'xulrunner>=1.9.2')
14 conflicts=('enigmail' 'enigmail-cvs')
15 install='enigmail-64-bin.install'
16 source=(http://www.mozilla-enigmail.org/download/release/${_pkg_main_ver}/enigmail-${pkgver}-tb.xpi)
17 noextract=(enigmail-${pkgver}-tb.xpi)
18 sha512sums=('2e8251944045dc0fef14958619a6f1bfbfeed5e1c08d5a62dd267ad60c297d1a3037a3fee097fb4afab4d2cf92efbaad4aeb2660305b07ffbfab3d47820fa83c')
19 _tb_version=$(pacman -Qi thunderbird|grep Version|cut -f 2 -d ":"|cut -f 2 -d " "|cut -f 1 -d -)
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-${_tb_version}/extensions/"
26 unzip -q -d "${pkgdir}/usr/lib/thunderbird-${_tb_version}/extensions/${_eid}" *.xpi
30 # vim:set ts=2 sw=2 et: