summaryrefslogtreecommitdiff
path: root/libre/thunderbird-libre/rePKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/thunderbird-libre/rePKGBUILD')
-rw-r--r--libre/thunderbird-libre/rePKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/thunderbird-libre/rePKGBUILD b/libre/thunderbird-libre/rePKGBUILD
new file mode 100644
index 000000000..ef2de693e
--- /dev/null
+++ b/libre/thunderbird-libre/rePKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Joshua Haase <hahj87@gmail.com>
+_pkgbase=thunderbird
+pkgname=thunderbird-libre
+_pkgver=3.1
+pkgver=3.1.9
+_pkgrel=2
+pkgrel=$_pkgrel.1
+pkgdesc="Standalone Mail/News reader, with GNUZilla addons"
+arch=('i686' 'x86_64')
+license=('MPL' 'GPL')
+url="http://www.mozilla.org/projects/thunderbird"
+depends=('gtk2' 'gcc-libs' 'mozilla-common' 'nss' 'libxt' 'shared-mime-info' 'alsa-lib' 'dbus-glib' 'hunspell' 'sqlite3>=3.7.4' 'desktop-file-utils')
+makedepends=()
+optdepends=('libcanberra: for sound support')
+replaces=('thunderbird')
+conflicts=('thunderbird')
+provides=("thunderbird=$pkgver")
+install=thunderbird.install
+source=(http://mirrors.kernel.org/archlinux/extra/os/$CARCH/$_pkgbase-$pkgver-$_pkgrel-$CARCH.pkg.tar.xz
+ gnuzilla-addons.patch)
+
+build() {
+ cd "${srcdir}/"
+ rm .{INSTALL,PKGINFO} $_pkgbase-$pkgver-$_pkgrel-$CARCH.pkg.tar.xz
+ pushd usr/lib/${_pkgbase}-${_pkgver}/defaults/pref/ >/dev/null
+ patch -Np0 -i "${srcdir}/gnuzilla-addons.patch"
+ popd >/dev/null
+ rm "${srcdir}/gnuzilla-addons.patch"
+}
+
+package() {
+ cp -a ./* ${pkgdir}
+}