Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull in thunderbird-lightning-bin from AUR as of 4.0.0.1-1
- Loading branch information
Jason Antman
authored and
Jason Antman
committed
Jul 1, 2015
1 parent
b2d8556
commit 1a308f0
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Maintainer: Raimar Bühmann <raimar (at-sign) buehmann (period) de> | ||
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io> | ||
# Contributor: Joel Goguen <jgoguen (at-sign) jgoguen (period) ca> | ||
|
||
pkgname=thunderbird-lightning-bin | ||
pkgver=4.0.0.1 | ||
pkgrel=1 | ||
pkgdesc="A calendar that's fully integrated into Thunderbird." | ||
arch=('i686' 'x86_64') | ||
groups=('office') | ||
url="https://www.mozilla.org/en-US/projects/calendar/" | ||
license=('MPL' 'GPL' 'LGPL') | ||
depends=('thunderbird>=38' 'libnotify') | ||
makedepends=() | ||
options=(!strip) | ||
provides=(lightning=${pkgver}) | ||
replaces=("lightning-bin") | ||
conflicts=("lightning-bin") | ||
# https://addons.mozilla.org/de/thunderbird/addon/lightning/versions/ | ||
source=(lightning-$pkgver.xpi::https://addons.mozilla.org/thunderbird/downloads/file/322408/lightning-${pkgver}-sm+tb-linux.xpi) | ||
sha1sums=('3a467b149798d793c2487f4455f6865e950f1383') | ||
|
||
package() { | ||
mkdir -p ${pkgdir}/usr/lib/thunderbird/extensions/${pkgname} | ||
cd ${pkgdir}/usr/lib/thunderbird/extensions/${pkgname} | ||
bsdtar -x -f ${srcdir}/lightning-$pkgver.xpi | ||
|
||
_emid=$(grep em:id install.rdf | tail -n 1 | sed 's/.*>\(.*\)<.*/\1/') | ||
cd .. | ||
mv ${pkgname} ${_emid} | ||
cd ${_emid} | ||
# fix minimum version | ||
sed -i 's/<em:minVersion>38.0</<em:minVersion>38.0.0</' install.rdf | ||
|
||
# Fix permissions | ||
find -type d -exec chmod 0755 \{\} \+ | ||
find -type f -exec chmod 0644 \{\} \+ | ||
find -name '*.so' -exec chmod 0755 \{\} \+ | ||
chown -R root:root . | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
pkgbase = thunderbird-lightning-bin | ||
pkgdesc = A calendar that's fully integrated into Thunderbird. | ||
pkgver = 4.0.0.1 | ||
pkgrel = 1 | ||
url = https://www.mozilla.org/en-US/projects/calendar/ | ||
arch = i686 | ||
arch = x86_64 | ||
groups = office | ||
license = MPL | ||
license = GPL | ||
license = LGPL | ||
depends = thunderbird>=38 | ||
depends = libnotify | ||
provides = lightning=4.0.0.1 | ||
conflicts = lightning-bin | ||
replaces = lightning-bin | ||
options = !strip | ||
source = lightning-4.0.0.1.xpi::https://addons.mozilla.org/thunderbird/downloads/file/322408/lightning-4.0.0.1-sm+tb-linux.xpi | ||
sha1sums = 3a467b149798d793c2487f4455f6865e950f1383 | ||
|
||
pkgname = thunderbird-lightning-bin | ||
|