# Maintainer: Einhard Leichtfuß # Contributor: Daniel Landau # Contributor: Xyne # Contributor: David Manouchehri # Contributor: Alexander Fehr # Contributor: Thomas Jost # Contributor: Hinrich Harms pkgname=thunderbird-extension-enigmail-git pkgver=2.1.r193.gdd71be00 pkgrel=1 pkgdesc="OpenPGP message encryption and authentication for Thunderbird (development version)" arch=('any') url="https://www.enigmail.net/" license=('MPL' 'GPL3') depends=('gnupg' 'thunderbird<78') makedepends=('git' 'zip' 'python' 'perl') provides=('thunderbird-extension-enigmail' 'thunderbird-enigmail') conflicts=('thunderbird-extension-enigmail' 'thunderbird-enigmail') source=("enigmail-git::git+https://gitlab.com/enigmail/enigmail.git") sha512sums=('SKIP') pkgver() { cd enigmail-git git describe --long | sed 's/enigmail-//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd enigmail-git ./configure make -j1 # fails with -j greater than 1 } package() { cd enigmail-git local emid="$(sed -n '/.*\(.*\)<\/em:id>.*/{s//\1/p;q}' \ package/install.rdf)" local target_dir="${pkgdir}/usr/lib/thunderbird/extensions/${emid}" install -d -m755 "$target_dir" cp -R build-tb/dist/. "$target_dir" }