blob: f14e27585d377e8aefa201de57a99152a53253ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer (Arch): Einhard Leichtfuß <archer@respiranto.de>
# Contributor (Arch): Daniel Landau <daniel.landau@iki.fi>
# Contributor (Arch): Xyne
# Contributor (Arch): David Manouchehri <d@32t.ca>
# Contributor (Arch): Alexander Fehr <pizzapunk gmail com>
# Contributor (Arch): Thomas Jost <schnouki schnouki net>
# Contributor (Arch): Hinrich Harms <arch hinrich de>
# Contributor (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_pkgname=thunderbird-enigmail
pkgname=icedove-enigmail
pkgver=1.9.9
pkgrel=1
pkgdesc="Icedove extension that enables sending and receiving signed and encrypted email messages"
arch=('any')
url="https://www.enigmail.net/"
license=('MPL' 'GPL')
depends=('icedove>=38' 'gnupg>=2.0.7')
replaces=($_pkgname)
conflicts=($_pkgname)
provides=($_pkgname)
makedepends=('zip' 'python2' 'perl>=5.8')
source=("https://www.enigmail.net/download/source/enigmail-${pkgver}.tar.gz"{,.asc})
validpgpkeys=('4F9F89F5505AC1D1A260631CDB1187B9DD5F693B') # Patrick Brunschwig
sha512sums=('39b37305362c88527d897ed95aa9d8457137d5f026359d19b838ab9df531c14099e157afdc8fefae78a6fa2ddded8dbfbeaf84eb91ac6cfbb05ae808731da2cb'
'SKIP')
build() {
cd "$srcdir/enigmail"
PYTHON=/usr/bin/python2 ./configure
make -j1 # fails with -j greater than 1
}
package() {
cd "$srcdir/enigmail"
emid="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' package/install.rdf)"
install -d -m755 "$pkgdir"/usr/lib/icedove/extensions/"$emid"
cd "$pkgdir"/usr/lib/icedove/extensions/"$emid"
bsdtar -xf "$srcdir"/enigmail/build/enigmail-*.xpi
}
|