blob: 08d0162b223a521d546da544cb589ea1e8036c60 (
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
|
# Maintainer: Berrit Birkner <aur at bbirkner dot de>
pkgname=thunderbird-extension-import-export-tools-ng
_pkgname=import-export-tools-ng
pkgver=14.1.5
pkgrel=3
pkgdesc="Thunderbird extension that adds import and export functions for messages, folders and profiles."
arch=('any')
url='https://addons.thunderbird.net/addon/importexporttools-ng/'
license=('GPL-3.0-or-later')
makedepends=('p7zip' 'jq')
source=("${_pkgname}-${pkgver}"::"https://github.com/thunderbird/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('1518455adbbf6d561c248a3c58af139505217398c66f363f2067913d8f266096')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
7z a ./xpi/${_pkgname}-${pkgver}-tb.xpi ./src/*
}
package() {
depends=('thunderbird>=115' 'thunderbird<129')
cd "${srcdir}/${_pkgname}-${pkgver}"
_archivefilename=$(jq -r '.applications.gecko.id ' src/manifest.json)
install -D -m644 "xpi/${_pkgname}-${pkgver}-tb.xpi" "${pkgdir}/usr/lib/thunderbird/extensions/${_archivefilename}.xpi"
}
|