summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-22 21:18:09 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-22 21:21:02 -0300
commit6e9636a0f2a0467114d0437a74dcef929d1afdbb (patch)
treeb37490054d54c34ade552ee18ef3a45bd97e5fb0 /pcr
parent804279bf95ecb0f39ba1c04ed750ddc409dd5d67 (diff)
icedove-enigmail-1.8.2-1: updating version
* move package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/icedove-enigmail/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/icedove-enigmail/PKGBUILD b/pcr/icedove-enigmail/PKGBUILD
new file mode 100644
index 000000000..094b76f25
--- /dev/null
+++ b/pcr/icedove-enigmail/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer (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>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+_pkgname=thunderbird-enigmail
+pkgname=icedove-enigmail
+pkgver=1.8.2
+pkgrel=1
+pkgdesc="Icedove extension that enables sending and receiving signed and encrypted email messages"
+arch=('i686' 'x86_64')
+url="https://www.enigmail.net/"
+license=('MPL' 'GPL')
+depends=('icedove' 'gnupg')
+replaces=($_pkgname)
+conflicts=($_pkgname)
+provides=($_pkgname)
+makedepends=('zip' 'unzip' 'python2' 'perl>=5.8')
+source=("https://www.enigmail.net/download/source/enigmail-${pkgver}.tar.gz"{,.asc})
+validpgpkeys=('4F9F89F5505AC1D1A260631CDB1187B9DD5F693B') # Patrick Brunschwig
+sha256sums=('1d2700799bc52aaa8e8c9f7a0f5111281ff9fbdffc093cdff070657d574eb2a6'
+ '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"
+ unzip "$srcdir"/enigmail/build/enigmail-*.xpi
+}