blob: 92d07d62d5cdff1075f4657dda3a450feec7378e (
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=9.0.10.r0.g066a766
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\)/r\1/;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
}
|