summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Tiá2016-04-01 02:37:16 -0600
committerJavier Tiá2016-04-01 02:37:16 -0600
commitc5349e7b9e0bdad2ecc3c6c686b621cd365ea6e8 (patch)
treec7e4cb5900798dc772066d3db15a84a26ec741f2
downloadaur-c5349e7b9e0bdad2ecc3c6c686b621cd365ea6e8.tar.gz
Bump up thunderbird-exchangecalendar-beta 3.6.0_beta1-1
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD51
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..241ce1898b5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Fri Apr 1 08:36:38 UTC 2016
+pkgbase = thunderbird-exchangecalendar-beta
+ pkgdesc = Thunderbird Addon/Extension and Provider for Microsoft Exchange 2007/2010/2013 Calendar, Tasks, Contacts and Global Address List (GAL)
+ pkgver = 3.6.0_beta1
+ pkgrel = 1
+ url = https://github.com/Ericsson/exchangecalendar
+ arch = any
+ groups = office
+ license = GPL3
+ makedepends = zip
+ depends = thunderbird
+ depends = thunderbird-lightning-bin
+ provides = exchangecalendar=3.6.0_beta1
+ conflicts = thunderbird-exchangecalendar-git
+ conflicts = thunderbird-exchangecalendar
+ options = !strip
+ options = !libtool
+ options = !staticlibs
+ options = !docs
+ source = thunderbird-exchangecalendar-beta-3.6.0_beta1.xpi::https://github.com/Ericsson/exchangecalendar/releases/download/v3.6-beta1/exchangecalendar-v3.6.0-beta1.xpi
+ sha256sums = 7a0689f512d38ca9bdb912f20f5b2855156e95ba19cf1f3bf652c29485a66eb3
+
+pkgname = thunderbird-exchangecalendar-beta
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8452b71e6c8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Javier Tiá <javier dot tia at gmail dot com>
+# Creator: Javier Vasquez <j dot e dot vasquez dot v at gmail dot com>
+
+_name=exchangecalendar
+pkgname=thunderbird-${_name}-beta
+pkgver=3.6.0_beta1
+_ver_min=3.6
+_ver=${_ver_min}.0
+_beta=beta1
+pkgrel=1
+pkgdesc='Thunderbird Addon/Extension and Provider for Microsoft Exchange 2007/2010/2013 Calendar, Tasks, Contacts and Global Address List (GAL)'
+url='https://github.com/Ericsson/exchangecalendar'
+arch=('any')
+groups=('office')
+license=('GPL3')
+depends=('thunderbird' 'thunderbird-lightning-bin')
+makedepends=('zip')
+options=('!strip' '!libtool' '!staticlibs' '!docs')
+conflicts=('thunderbird-exchangecalendar-git' 'thunderbird-exchangecalendar')
+provides=("${_name}=${pkgver}")
+source=("${pkgname}-${pkgver}.xpi::${url}/releases/download/v${_ver_min}-${_beta}/${_name}-v${_ver}-${_beta}.xpi")
+sha256sums=('7a0689f512d38ca9bdb912f20f5b2855156e95ba19cf1f3bf652c29485a66eb3')
+
+package() {
+ _extdir=usr/lib/thunderbird/extensions
+ mkdir -p ${pkgdir}/${_extdir}/${pkgname}
+ cd ${pkgdir}/${_extdir}/${pkgname}
+ bsdtar -x -f ${srcdir}/${pkgname}-${pkgver}.xpi
+
+ # Extract extension name
+ _emid=$(grep -m 1 em:id install.rdf | sed 's/.*>\(.*\)<.*/\1/')
+
+ # Change extension name
+ cd ..
+ mv ${pkgname} ${_emid}
+ cd ${_emid}
+
+ # Disable warn and check about new version
+ sed -i 's|\(warnAboutNewAddOnVersion", \)true|\1false|' \
+ defaults/preferences/update_disable.txt
+ sed -i 's|\(checkForNewAddOnVersion", \)true|\1false|' \
+ defaults/preferences/update_disable.txt
+ cat defaults/preferences/update_disable.txt > defaults/preferences/update.js
+
+ # Fix permissions in emid extension directory
+ find . -type d -exec chmod 0755 \{\} \+
+ find . -type f -exec chmod 0644 \{\} \+
+ chown -R root:root .
+}
+
+# vim:set ft=sh ts=2 sw=2 ft=sh et: