summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-20 06:00:22 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-20 06:00:22 -0200
commit60f0f8872e7973c57dfc2d08f1219aa05f50e7f5 (patch)
treedeb5d957c22b5e804259cc10de1604c16f643320 /libre
parent5e6bbeb01dacba4fa72284e275aa11dfbc2cafd4 (diff)
downloadabslibre-60f0f8872e7973c57dfc2d08f1219aa05f50e7f5.tar.gz
abslibre-60f0f8872e7973c57dfc2d08f1219aa05f50e7f5.tar.bz2
abslibre-60f0f8872e7973c57dfc2d08f1219aa05f50e7f5.zip
icedove-enigmail: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r--libre/icedove-enigmail/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/libre/icedove-enigmail/PKGBUILD b/libre/icedove-enigmail/PKGBUILD
new file mode 100644
index 000000000..d44f8b8a1
--- /dev/null
+++ b/libre/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.7.2
+pkgrel=2
+pkgdesc="Icedove extension that enables sending and receiving signed and encrypted e-mail 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=('10B2E4A0E718BB1B2791DAC4F040E41B9369CDF3') # Patrick Brunschwig
+sha256sums=('7b3a62e83961bafec1cdac60075aa6c317c8f655a837e31a7d1f3ce6a49fc7d6'
+ '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
+}