blob: 6fd2df9de5f80287b4035e3c7299a1e38f584d50 (
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
27
28
|
# Maintainer: Bruno Miguel <bruno@privacyrequired.com>
pkgname=thunderbird-extension-send-later-git
pkgver=10.4.2.9896a9c1
pkgrel=1
pkgdesc=" Schedule messages to be sent at a specific time"
arch=('any')
url='https://github.com/Extended-Thunder/send-later'
license=('MPL2')
depends=('thunderbird')
source=("git+${url}")
md5sums=('SKIP')
pkgver() {
cd send-later
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)//;s/-/./g'
}
build() {
cd "${srcdir}/send-later"
export _archivefilename=$(grep id manifest.json | awk -F \" '{print $4}')
bsdtar -caf ${srcdir}/$_archivefilename.zip *
}
package() {
install -D -m644 $_archivefilename.zip ${pkgdir}/usr/lib/thunderbird/extensions/$_archivefilename.xpi
}
|