summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44ca168a97ddb2bb76de009a425ded994a6219fc (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: Michal Wojdyla < micwoj9292 at gmail dot com>
# Contributor: Javier TiĆ” <javier dot tia at gmail dot com>

pkgname=thunderbird-tbsync
pkgver=2.12
pkgrel=1
_file=1016743
_name=tbsync
pkgdesc="Sync contacts, tasks and calendars to thunderbird using Exchange ActiveSync (EAS) and CalDAV/CardDAV"
arch=('any')
url="https://github.com/jobisoft/TbSync"
license=('MPL-2.0')
groups=('office')
depends=('thunderbird>=68' 'thunderbird<69')
conflicts=("${pkgname}-beta")
provides=("${_name}=${pkgver}")
# https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/versions/
source=("https://addons.thunderbird.net/thunderbird/downloads/file/$_file/$_name-$pkgver-tb.xpi")
noextract=("$_name-$pkgver-tb.xpi")
sha256sums=('d7e28222b569b50d6e624c8a6cfa1808956b8b8e0c64211d03fabf8d5acd857a')

package() {
  _extension_id="tbsync@jobisoft.de"
  _extension_dest="${pkgdir}/usr/lib/thunderbird/extensions/${_extension_id}"
  install -Dm644 "${srcdir}"/$_name-$pkgver-tb.xpi "${_extension_dest}.xpi"
}